Jan Steemann
61cb229ca8
simplified writing of markers into datafiles
2013-03-18 20:04:31 +01:00
Jan Steemann
e8a6c9ee6e
cleaned up doc operation context
2013-03-18 17:34:17 +01:00
Frank Celler
7908f2b26d
cleanup of indexes, fix for compaction (hash, cap, geo, skiplist, pq, bit-array)
...
Conflicts:
arangod/Ahuacatl/ahuacatl-tokens.c
arangod/BitIndexes/bitarray.c
arangod/BitIndexes/bitarray.h
arangod/BitIndexes/bitarrayIndex.c
arangod/BitIndexes/bitarrayIndex.h
arangod/BitIndexes/masterblocktable.h
arangod/GeoIndex/geo-index.c
arangod/HashIndex/hash-index.c
arangod/PriorityQueue/pqueueindex.c
arangod/PriorityQueue/pqueueindex.h
arangod/PriorityQueue/priorityqueue.c
arangod/PriorityQueue/priorityqueue.h
arangod/SkipLists/compare.h
arangod/SkipLists/skiplist.c
arangod/SkipLists/skiplist.h
arangod/SkipLists/skiplistIndex.c
arangod/SkipLists/skiplistIndex.h
arangod/V8Server/v8-query.cpp
arangod/VocBase/compactor.c
arangod/VocBase/document-collection.c
arangod/VocBase/index.c
arangod/VocBase/index.h
arangod/VocBase/synchroniser.c
arangod/VocBase/voc-shaper.c
arangod/VocBase/vocbase.c
lib/BasicsC/hashes.h
lib/BasicsC/memory.c
lib/ShapedJson/json-shaper.h
lib/ShapedJson/shaped-json.h
utils/cleanupCFiles
2013-03-15 15:45:39 +01:00
Jan Steemann
61af5f27da
added startup option `--database.force-sync-properties`
2013-03-14 13:48:58 +01:00
Jan Steemann
276627fd4c
only free pointers if set
2013-03-14 11:51:51 +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
a-brandt
62b72d17a1
#344 added missing support of array-url-parameters
2013-03-13 14:20:01 +01:00
Frank Celler
1803f409b2
fixed skip list index
...
Conflicts:
arangod/SkipLists/skiplistIndex.c
2013-03-12 11:13:22 +01:00
Jan Steemann
206681159f
fixed memory zone mismatches
2013-03-11 11:10:08 +01:00
Jan Steemann
660610ae71
fixed memory zone mismatches
2013-03-11 10:30:54 +01:00
Frank Celler
c915bfa5ff
cleanup of indexes, fix for compaction (hash, cap, geo)
...
Conflicts:
arangod/VocBase/compactor.c
arangod/VocBase/document-collection.c
arangod/VocBase/synchroniser.c
arangod/VocBase/vocbase.c
2013-03-11 09:49:58 +01:00
Jan Steemann
83c0326145
disallow specifying indexes on internal attributes (_key, _from, _to etc.).
...
This has never worked before and will never work, so return an error if this is tried
2013-03-08 17:26:47 +01:00
Jan Steemann
e6c28d50b3
cleanup: removed TRI_HAVE_ICU and internal.HAVE_ICU (always true)
2013-03-08 16:09:47 +01:00
Jan Steemann
99630450c2
removed checks for TRI_HAVE_ICU because ICU is a prerequisite for using ArangoDB
2013-03-08 16:03:54 +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
a6dde1423d
disallow defined, but non-string keys
2013-03-07 18:12:07 +01:00
Jan Steemann
4f59917201
added lost docs for collection.save()
2013-03-07 13:19:53 +01:00
Jan Steemann
424ab3e759
removed redundant function
2013-03-07 01:30:34 +01:00
Jan Steemann
0fb397eabd
adjusted startup output to be more compact, less verbose
2013-03-06 19:05:17 +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
Jan Steemann
5098792b4f
fixed invalid pointers when compacting deletion markers
...
fixed invalid pointers for updates
2013-03-06 14:02:32 +01:00
a-brandt
e41847c336
moved random generators and nonce functions to internal and crypto module
2013-03-04 16:18:00 +01:00
a-brandt
58148f33a4
changed nonce handling
2013-03-04 14:03:22 +01:00
a-brandt
d6392971bf
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2013-03-04 09:06:45 +01:00
Jan Steemann
d2469bf46d
constified
2013-03-01 18:14:40 +01:00
a-brandt
354a540636
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2013-03-01 16:49:27 +01:00
a-brandt
8d78bb1c60
added rondom generator and nonce support
2013-03-01 16:48:37 +01:00
Jan Steemann
f613c3c4d9
fixed race conditions when reading/deleting documents
2013-03-01 16:44:40 +01:00
Oreste Panaia
fc5e1ba623
merge conflicts with devel
2013-02-28 19:42:58 +08:00
Oreste Panaia
a48696ec28
network modifications required for windows
2013-02-28 17:43:39 +08:00
Frank Celler
a79279445a
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2013-02-26 18:20:27 +01:00
Frank Celler
85d2e87154
added new package option
2013-02-25 18:15:32 +01:00
Jan Steemann
bed09cbbe2
fixed deleting indexes by numeric id
2013-02-25 13:52:50 +01:00
Jan Steemann
b3f52d0bfc
fixed dropping of indexes
2013-02-25 13:36:17 +01:00
Jan Steemann
382047dbd6
issue #404
2013-02-18 14:28:19 +01:00
Frank Celler
ced7b05cca
added fix for TRI_ENABLE_LOGGING from Jan
2013-02-16 14:03:35 +01:00
Frank Celler
7072fab0f1
fixed merge error
2013-02-15 13:10:46 +01:00
Frank Celler
cf2888b4fc
Merge branch 'devel' of github.com:triAGENS/ArangoDB into 1.2
...
Conflicts:
CHANGELOG
Documentation/Manual/Upgrading12.md
Installation/Linux/rc.arangod.OpenSuSE
2013-02-15 12:59:16 +01:00
Frank Celler
45c815b7eb
fixed issue #403 : Usage of exit() etc.
2013-02-15 12:19:09 +01:00
Frank Celler
069dcdfc94
changed logging of fatal errors
2013-02-14 16:47:35 +01:00
Jan Steemann
0f29e2b7dd
pass request body to user-defined PATCH action
2013-02-12 18:17:07 +01:00
Jan Steemann
8365c4294c
small mods
2013-02-12 18:16:23 +01:00
Jan Steemann
f569639445
pass body to user action code for HTTP PATCH calls
2013-02-12 18:05:08 +01:00
Jan Steemann
0f8dc061cb
comments
2013-02-12 16:30:13 +01:00
Jan Steemann
afbc5da1de
issue #395
2013-02-12 12:05:04 +01:00