Jan Steemann
564523896a
compaction tests
2013-06-11 10:10:58 +02:00
Jan Steemann
8696048dbb
removed now unnecessary _validTo from master pointers/headers
2013-06-10 11:20:19 +02:00
Jan Steemann
d31573a8b4
fixed a few type issues, updated TODOs
2013-06-07 11:31:42 +02:00
Guido Reina
7efd0a1ec7
Merge remote branch 'remotes/upstream/devel' into experiment
2013-05-09 18:56:50 +02:00
Guido Reina
3449b87e2c
The 'json' structure was not freed in the function TRI_LoadCollectionInfo() if the file was not a JSON array.
2013-05-09 18:26:24 +02:00
Guido Reina
952d643101
Fixed memory leak in the function ScanCollectionDirectory(). If the file extension is .db and it is a compaction file, 'filename' is leaked when 'newName' is assigned to it.
...
In the function TRI_LoadCollectionInfo(), when the value's type is a JSON string and the key is not the 'name', it checked again whether the value's type is a JSON string, instead of comparing the key with 'cid'.
2013-05-09 16:06:46 +02:00
Jan Steemann
ccd129f69e
fixed problem on restart ("datafile-xxx is not sealed") when server was killed during compaction
2013-05-08 11:09:48 +02:00
Jan Steemann
3629eecddd
documented upgrade procedure
2013-04-12 10:25:01 +02:00
Jan Steemann
b6925a7b7b
transactions
2013-04-11 19:06:55 +02:00
Jan Steemann
6187c516a3
push before compactor change
2013-04-04 11:15:58 +02:00
Jan Steemann
addf02a97b
update the tick counter on startup with ticks from journals
2013-04-04 10:08:05 +02:00
Jan Steemann
059980ed50
read & write collection ids as strings in parameter.json files
2013-04-04 08:49:40 +02:00
Frank Celler
f810711a79
FreeBSD port
2013-04-02 18:43:10 +02:00
Jan Steemann
c8c0db8657
downgrade error message
2013-03-14 16:41:51 +01:00
Jan Steemann
61af5f27da
added startup option `--database.force-sync-properties`
2013-03-14 13:48:58 +01:00
Jan Steemann
ab14179ee7
made fsync configurable when writing json files
2013-03-14 12:33:25 +01:00
Frank Celler
891cac01b2
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
...
Conflicts:
arangod/VocBase/collection.c
2013-03-13 17:05:59 +01:00
Frank Celler
1aa5109fa3
updated disclaimer
2013-03-13 17:03:18 +01:00
Jan Steemann
836963ae00
less compaction
2013-03-12 18:17:27 +01:00
Jan Steemann
91c38f8425
delete temporary files on startup
2013-03-12 14:45:42 +01:00
Jan Steemann
8888fe4cc5
dont truncate collection id in error message
2013-03-12 10:31:54 +01:00
Jan Steemann
cd753182f1
fixed doxygen errors
2013-03-08 16:56:52 +01:00
Jan Steemann
0a883f4076
merged some changes from trx branch into devel
2013-03-08 14:22:25 +01:00
Jan Steemann
5631314bc7
issue #212 : added auto-increment support for collections
...
the feature can be used by creating a collection with the extra `keyOptions`
attribute as follows:
db._create("mycollection", { keyOptions: { type: "autoincrement", offset: 1, increment: 10, allowUserKeys: true } });
The `type` attribute will make sure the keys will be auto-generated if no `_key` attribute is specified for a document.
The `allowUserKeys` attribute determines whether users might still supply own `_key` values with documents or if this
is considered an error.
The `increment` value determines the actual increment value, whereas the `offset` value can be used to seed to value
sequence with a specific starting value. This will be useful later in a multi-master setup, when multiple servers can use
different auto-increment seed values and thus generate non-conflicting auto-increment values.
The default values currently are:
- `allowUserKeys`: `true`
- `offset`: `0`
- `increment`: `1`
The only other available key generator type currently is `traditional`. The `traditional` key generator
will auto-generate keys in a fashion as ArangoDB always did (some increasing integer value, with a more or less unpredictable
increment value).
Note that for the `traditional` key generator there is no the option to disallow user-supplied keys and give the
server the sole responsibility for key generation.
2013-03-08 11:54:03 +01:00
Jan Steemann
2734060026
when compacting old markers, also adjust _key
2013-03-04 12:05:14 +01:00
Jan Steemann
8d496dd701
fixed memleaks in cause of collection loading errors
2013-03-01 10:10:41 +01:00
Jan Steemann
945a437807
move creation of parameters file until after all datafiles have been created
...
this mitigates problems when datafile creation fails and there are dangling parameter.json files around
2013-01-16 16:40:10 +01:00
Jan Steemann
485d10ad51
added collection.revision() method
2013-01-10 02:02:32 +01:00
Jan Steemann
0471ee8a0d
memory collections, intermediate commit
2013-01-04 15:50:29 +01:00
Jan Steemann
8128a6377d
memory-collections, intermediate commit
2013-01-04 12:12:46 +01:00
Frank Celler
503e0ff8fe
fixed merge conflicts
2013-01-02 18:07:57 +01:00
Frank Celler
9917ece449
added missing padding for 32bit
2013-01-02 16:17:38 +01:00
Oreste Panaia
83ded3fc1f
windows fixes
2012-12-20 17:17:30 +08:00
Oreste Panaia
857b66c490
windows version
2012-12-06 20:44:01 +08:00
Jan Steemann
1811ce9186
fixed some issues found by cppcheck
2012-12-04 18:21:29 +01:00
Jan Steemann
f812408a7e
documentation for collection names / keys
2012-11-23 19:41:14 +01:00
Jan Steemann
aaf34f44f4
fixed lots of compile warnings
2012-11-22 21:20:22 +01:00
a-brandt
71d3d54de1
collection info struct changed
2012-11-15 11:24:35 +01:00
Jan Steemann
30ba8771a7
pluggable key generators
2012-11-14 12:44:56 +01:00
Jan Steemann
be39dbd419
some cleanup
2012-11-09 17:50:07 +01:00
Jan Steemann
4df461b783
fixed a crash with --database.force-sync-shapes = false
2012-10-17 18:45:24 +02:00
Jan Steemann
a4b979222f
fixed memory zone issues, memleaks
2012-10-10 19:05:16 +02:00
Jan Steemann
31ce03b31d
fixed some memory zone issues
2012-10-10 15:17:46 +02:00
Jan Steemann
1b1d7ba877
renamed simple_collection to document_collection
2012-09-14 14:46:37 +02:00
Jan Steemann
6a4c9c1c07
fixed potential crash when parameter file cannot be created
2012-09-05 11:43:57 +02:00
Jan Steemann
c1ebdabcf3
renamed blob_collection to shape_collection
2012-09-04 09:32:18 +02:00
Jan Steemann
b8e7d5634d
issue #153 : edge collection should be a flag for a collection
2012-08-28 10:48:24 +02:00
Jan Steemann
d55807aa83
fixed an out of memory case
2012-08-21 16:59:52 +02:00
Jan Steemann
43b7ea951a
issue #147 : added --database.force-sync-shapes option
2012-08-09 19:25:39 +02:00
Jan Steemann
3d53f45d57
removed some TODO markers by handling some out of memory situations
2012-08-07 10:03:21 +02:00