1
0
Fork 0
Commit Graph

5204 Commits

Author SHA1 Message Date
Jan Steemann 0769f311e7 issue #444: make colors portable 2013-03-08 15:25:18 +01:00
Jan Steemann ed8920ca0d updated CHANGELOG 2013-03-08 15:17:14 +01:00
Jan Steemann 1ea4c1c4b0 issue #443 2013-03-08 15:16:29 +01:00
Jan Steemann 69fc6e1662 added test case 2013-03-08 14:38:08 +01:00
Jan Steemann 0a883f4076 merged some changes from trx branch into devel 2013-03-08 14:22:25 +01:00
Jan Steemann 8a6bac82ad removed headers->verify() because it was a non-op 2013-03-08 13:36:48 +01:00
Jan Steemann deb8946e1d added build date 2013-03-08 13:32:12 +01:00
Jan Steemann 7c29099b19 fixed version in CHANGELOG 2013-03-08 13:18:59 +01:00
Jan Steemann 7ad4cea138 issue #442: pls update post install info on osx 2013-03-08 13:16:20 +01:00
Jan Steemann 8a0f26f1e2 extension for issue #438 2013-03-08 13:11:47 +01:00
Jan Steemann 2b97f97765 issue #212 2013-03-08 12:18:32 +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 b307e4cd6d completed auto-increment key generator 2013-03-08 10:51:50 +01:00
Jan Steemann b83952c94e added test cases 2013-03-08 10:24:53 +01:00
Jan Steemann 5732ab8378 reduce the size for each collection struct
"path" attribute now has a max length of 512 bytes instead of 4K
2013-03-07 18:17:52 +01:00
Jan Steemann 0879cf8d15 added auto-increment key generator (not yet ready) 2013-03-07 18:17:35 +01:00
Jan Steemann fdcbbf6cfd derived file 2013-03-07 18:12:33 +01:00
Jan Steemann a6dde1423d disallow defined, but non-string keys 2013-03-07 18:12:07 +01:00
Jan Steemann e2c0d9544a fixed jslint errors 2013-03-07 17:35:12 +01:00
Jan Steemann 4e41e0def6 fixed arangosh printing "undefined" 2013-03-07 17:34:31 +01:00
Jan Steemann a4708f806b issue #441 2013-03-07 17:34:16 +01:00
Jan Steemann 4f59917201 added lost docs for collection.save() 2013-03-07 13:19:53 +01:00
Jan Steemann 092327058b potential solution for #438 (non-windows) 2013-03-07 10:50:40 +01:00
Jan Steemann 424ab3e759 removed redundant function 2013-03-07 01:30:34 +01:00
Jan Steemann a716f300a1 less strlen() calls 2013-03-07 00:58:08 +01:00
Jan Steemann a73d32c553 initialise lists to the correct size 2013-03-07 00:46:27 +01:00
Jan Steemann 529cf8c93e initialise vectors with basic sizes 2013-03-07 00:13:26 +01:00
Jan Steemann 1b2155baf8 minor AQL runtime optimisations 2013-03-06 22:31:03 +01:00
Jan Steemann 0fb397eabd adjusted startup output to be more compact, less verbose 2013-03-06 19:05:17 +01:00
Jan Steemann 8f48edb6d6 set minimum number of open files to 256 at server start 2013-03-06 18:26:31 +01:00
Jan Steemann c3141b45d5 updated the CHANGELOG 2013-03-06 18:03:07 +01:00
Jan Steemann fbceb95f97 fixes 2013-03-06 17:38:31 +01:00
Jan Steemann 5f08de7bd3 fixed offset calculation for arangob 2013-03-06 17:27:23 +01:00
Jan Steemann 2a6180b5fe fixes 2013-03-06 17:10:52 +01:00
Jan Steemann d93c0693d0 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-03-06 14:33:40 +01:00
Jan Steemann bdf906ef89 fixed a memleak for barriers 2013-03-06 14:33:23 +01:00
a-brandt 82bf2bca17 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-06 14:06:07 +01:00
a-brandt 18c05bdac6 added session errors 2013-03-06 14:05:42 +01:00
Jan Steemann 5098792b4f fixed invalid pointers when compacting deletion markers
fixed invalid pointers for updates
2013-03-06 14:02:32 +01:00
Frank Celler eedbd6e770 renamed to callback 2013-03-06 10:11:16 +01:00
a-brandt 57c2eac80e Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-06 10:08:12 +01:00
Jan Steemann ebec33e255 moved actual test cases out of arangob.cpp 2013-03-06 10:04:56 +01:00
Jan Steemann 01bf386e08 added test cases, fixed edge index key insertion 2013-03-06 09:38:59 +01:00
a-brandt d4875c8afb Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-05 16:20:37 +01:00
Lucas Dohmen 745687ca90 Added Build Heroes to Travis 2013-03-05 15:54:53 +01:00
Frank Celler dd15025c1c fixed tests, add missing prefix = false to statistics call 2013-03-05 13:32:58 +01:00
beckmann73 d02b251a2f Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-03-05 08:49:24 +01:00
beckmann73 88792c1286 pagination with icons in toolbar 2013-03-05 08:49:04 +01:00
Heiko Kernbach d6ddc03744 shorter desc. for sync 2013-03-04 21:48:52 +01:00
Heiko Kernbach 38e4d8a6a5 optimized description of journalsize 2013-03-04 21:44:23 +01:00