Max Neunhoeffer
183bcb50df
FIx typo.
2016-07-12 16:55:59 +02:00
Max Neunhoeffer
2c2c50aa19
Rewrite old revision strings with new HLC time stamps.
2016-07-12 16:51:25 +02:00
jsteemann
6713ec39dc
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-07-12 16:49:36 +02:00
Jan Steemann
5773154791
complaints
2016-07-12 15:37:37 +01:00
Jan Steemann
d9aa695cea
complaints
2016-07-12 15:36:47 +01:00
jsteemann
dcfaee33e9
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-07-12 15:57:40 +02:00
Jan Steemann
403ba8a30c
fixed issue #1937
2016-07-12 15:57:19 +02:00
Max Neunhoeffer
846e6b6127
Merge remote-tracking branch 'origin/devel' into HLC
2016-07-12 15:10:24 +02:00
Michael Hackstein
daeef23761
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2016-07-12 14:46:35 +02:00
Michael Hackstein
d9e1f41871
Modified the SkiplistIndex lookup s.t. it does not build one large VPackBuilder containing all combinations of search values, but instead has an option to rewrite it in-place and just has to maintain the intervals.
2016-07-12 14:46:24 +02:00
Max Neunhoeffer
17e4c05de5
Change encoding of HLC time stamps, tolerate old ticks in _rev.
2016-07-12 14:01:33 +02:00
jsteemann
e03cf68861
ignore revision ids
2016-07-12 13:54:41 +02:00
Jan Steemann
1719d3c993
fix destructuring of Externals in MERGE
2016-07-12 13:37:39 +02:00
Jan Steemann
233453bb42
ignore primary and edge indexes during cluster restore
2016-07-12 10:18:12 +02:00
Jan Steemann
3705a1d2f9
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-07-12 09:45:52 +02:00
Jan Steemann
6f3091e30a
fix recovery issues
2016-07-12 09:45:45 +02:00
Jan Steemann
94bd64d9ab
fix complaining about null keys
2016-07-12 09:42:32 +02:00
Jan Christoph Uhde
4f357502b0
fix: add missing mutex
2016-07-12 09:30:49 +02:00
Max Neunhoeffer
7571a16c9d
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2016-07-11 23:46:12 +02:00
Max Neunhoeffer
869a820275
Use babies in handler for arangorestore.
...
This fixes bad performance and corresponding errors due to timeouts
in the cluster case with synchronous replication in the restored
collections.
2016-07-11 23:37:38 +02:00
Jan Steemann
2d7faa795a
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-07-11 18:39:18 +02:00
Jan Steemann
10db618129
fix recovery
2016-07-11 18:36:00 +02:00
Jan Steemann
fe25732635
ignore document not found on recovery
2016-07-11 15:40:42 +02:00
Jan Steemann
fe845d4b7a
respond with better error message
2016-07-11 13:42:14 +02:00
Frank Celler
36a9b7852e
Merge branch 'devel' into HLC
2016-07-11 07:03:49 +00:00
Michael Hackstein
9f60536584
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2016-07-11 08:58:59 +02:00
Jan Steemann
cb14a63778
pass UDF name into UDF call via this argument
2016-07-08 14:31:14 +02:00
Andreas Streichardt
256d5b818d
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2016-07-07 18:50:24 +02:00
jsteemann
ba8a8a8afe
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-07-07 16:56:17 +02:00
jsteemann
3c536d6aff
do not make options hidden
2016-07-07 16:56:07 +02:00
Max Neunhoeffer
a98916d755
Merge branch 'devel' into HLC
2016-07-07 15:23:24 +02:00
Jan Steemann
351f800eb1
fix upsert
2016-07-07 15:15:43 +02:00
Jan Steemann
3e50e06140
fixed comment
2016-07-07 15:15:42 +02:00
Jan Steemann
664cf840e7
fix assertion failure
2016-07-07 13:24:07 +02:00
Jan Steemann
f8b61c6723
added tests
2016-07-07 12:22:24 +02:00
Jan Christoph Uhde
b2e29c4353
fix: createResponse -> setResponseCode; remove delete
...
remove delete _response in RestEdgesHandler
2016-07-07 08:54:41 +00:00
Jan Christoph Uhde
d5a64253ec
fix: add missing mutex
2016-07-07 09:01:43 +02:00
Jan Christoph Uhde
7996b2c152
fix: RestAqlHandler - use getVpackOptionsForDump
2016-07-07 08:56:22 +02:00
Michael Hackstein
768177518f
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2016-07-06 22:42:52 +02:00
Michael Hackstein
b285cd26a3
Internal cleanup of TraversalOptions. Now the options know the the expressions not the traverser any more. Preparation to use other indexes
2016-07-06 22:42:46 +02:00
jsteemann
a7b5bb60fd
fixed issue #1929
2016-07-06 21:34:39 +02:00
Andreas Streichardt
7bb0740c4e
remove bogus includes
2016-07-06 18:18:01 +02:00
Max Neunhoeffer
02a5e5cc8f
Merge branch 'devel' into HLC
2016-07-06 11:03:41 +02:00
Jan Steemann
617a833040
handle "isSystem" somewhat smarter
2016-07-06 10:23:37 +02:00
Max Neunhoeffer
200d47a0bc
Fix revision id bug.
2016-07-06 10:02:26 +02:00
Max Neunhoeffer
1a04b0112f
Fix lastRevision in collection to use revision.
2016-07-06 09:38:20 +02:00
Max Neunhoeffer
f441fceed8
More fixes for new revision timestamps.
2016-07-06 09:15:48 +02:00
Jan Steemann
2fa2487081
fixed "Could not extract custom attribute" issue
2016-07-06 08:44:22 +02:00
Jan Steemann
373aaffa20
Revert "don't update if there's nothing to do"
...
This reverts commit 7455ef20ef
.
2016-07-06 07:56:48 +02:00
Jan Steemann
d8ead99c72
penalize backwards sorting
2016-07-06 07:41:18 +02:00
Jan Steemann
7455ef20ef
don't update if there's nothing to do
2016-07-06 07:41:08 +02:00
Jan Steemann
f9bafa4b14
slightly penalize index type
2016-07-06 07:41:01 +02:00
Max Neunhoeffer
41c5451168
Extract conversion _rev string <-> rid into functions.
...
Also fixes another place where this conversion was wrong.
2016-07-05 23:52:30 +02:00
Max Neunhoeffer
ae1a9497c6
Fix extractRevision again.
2016-07-05 22:18:09 +02:00
Max Neunhoeffer
bbfeafe830
Fix compilation.
2016-07-05 21:57:37 +02:00
Max Neunhoeffer
bf3a6de760
Fix extractRevision for new revision format.
2016-07-05 21:55:42 +02:00
Max Neunhoeffer
7fe9fcc00e
Use hybrid logical clock for _rev entries.
2016-07-05 21:15:32 +02:00
Jan Christoph Uhde
6963c70dc8
fix unittest http_server
2016-07-05 15:36:31 +02:00
jsteemann
c5dbfd7c7b
honor presence of persistent index for sorting
2016-07-05 13:04:38 +02:00
Jan Steemann
ca86704086
beautify handling of optimizer rules
2016-07-05 11:21:04 +02:00
Michael Hackstein
b39785ab3f
Fixed an VPackExternal error in Cluster Traverser.
2016-07-05 10:33:45 +02:00
Jan Christoph Uhde
5805758cee
make it compile - more ugly casts
2016-07-05 09:56:50 +02:00
Jan Christoph Uhde
4aa7222d98
Merge remote-tracking branch 'origin/devel' into FHM
...
* origin/devel:
Start adding a hybrid logical clock.
Handle replicationFactor and numberOfShards in arangorestore.
upgrade script for homebrew
Fix namespace stuff for VC++
Use standard GNU install dirs
2016-07-05 08:09:08 +02:00
Jan Christoph Uhde
41ecd18fc1
Merge branch 'devel' into FHM
...
* devel:
add: VPackValidator to RestVocbaseBaseHandler
add tags to .gitignore and add .editorconfig
2016-07-05 08:06:12 +02:00
Max Neunhoeffer
bc82322353
Start adding a hybrid logical clock.
2016-07-05 00:28:04 +02:00
Max Neunhoeffer
b7e957664f
Handle replicationFactor and numberOfShards in arangorestore.
...
This adds an option --default-replication-factor to arangorestore and
makes it more convenient to specify the number of shards for restored
collections.
2016-07-05 00:10:20 +02:00
Andreas Streichardt
32a77560d9
Fix namespace stuff for VC++
2016-07-04 18:44:04 +02:00
Frank Celler
d5bb7687f3
removed unecessary prefix
2016-07-04 17:44:35 +02:00
Frank Celler
a8e29450f4
Merge branch 'devel' of github.com:arangodb/arangodb into FMH
2016-07-04 17:13:38 +02:00
Frank Celler
38a55ed13c
Merge branch 'devel' of github.com:arangodb/arangodb into FMH
2016-07-04 17:09:40 +02:00
Jan Steemann
8617a8f82d
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-07-04 16:47:35 +02:00
Jan Steemann
1769299e95
make optimizer not skip "use-indexes-rule", even if enough plans have been created already
2016-07-04 16:31:14 +02:00
Michael Hackstein
c19df03649
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2016-07-04 16:26:08 +02:00
Michael Hackstein
12011060c0
Removed now obsolete code
2016-07-04 16:25:59 +02:00
Michael Hackstein
d273b387f8
Improved Traversal internal API. It now does less copying and creates less objects. Also it is way simpler to understand.
2016-07-04 16:16:58 +02:00
jsteemann
9593ac122d
dont include unused StringBuffer
2016-07-04 15:00:08 +02:00
Jan Christoph Uhde
ed789ce397
add: VPackValidator to RestVocbaseBaseHandler
2016-07-04 14:09:28 +02:00
Jan Steemann
7b62d71c63
added --skip-lines for import
2016-07-04 11:18:15 +02:00
Kaveh Vahedipour
4ead4f0ed7
compaction bug fixed for followers
2016-07-01 11:27:33 +02:00
Kaveh Vahedipour
8d9e636779
fixing follower agency compaction
2016-07-01 10:36:54 +02:00
Kaveh Vahedipour
204a57940d
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-07-01 09:33:45 +02:00
Kaveh Vahedipour
afbddb643b
compaction bug on followers
2016-07-01 09:33:34 +02:00
jsteemann
0aaf58837b
babify cluster import
2016-06-30 18:29:04 +02:00
Jan Steemann
b4159ade4e
always adjust tick values when loading collections and when modifying documents with _rev value specified
2016-06-30 18:04:03 +02:00
jsteemann
f145c79f10
initialize variable
2016-06-30 15:41:41 +02:00
Frank Celler
89a6419b4b
fixed periodic jobs: only one instance should be running
2016-06-30 14:57:50 +02:00
Kaveh Vahedipour
7dcee21432
bug fixes agancy backported from devel
2016-06-30 14:04:26 +02:00
Kaveh Vahedipour
bfbc89f4f9
bug fixes agancy backported from devel
2016-06-30 14:00:52 +02:00
Kaveh Vahedipour
07bba4a9a9
bug fixes agancy backported from devel
2016-06-30 13:50:12 +02:00
Jan Steemann
6c2f9148cc
increase max. number of collections to 256
2016-06-30 13:44:31 +02:00
Jan Steemann
3016fad94c
issue #1915
2016-06-30 13:44:25 +02:00
Jan Steemann
b05d4f7681
issue #1914 : fix unterminated buffer
2016-06-30 13:15:10 +02:00
jsteemann
42b83af963
micro optimizations
2016-06-29 23:34:58 +02:00
jsteemann
77e19df7c7
reuse operation cursors for const expressions
2016-06-29 22:56:42 +02:00
jsteemann
e554f5463a
primary index and cursor optimizations
2016-06-29 22:13:24 +02:00
jsteemann
aa4591193a
removed unused Json include
2016-06-29 22:01:36 +02:00
jsteemann
10367c1de4
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-06-29 17:44:29 +02:00
jsteemann
dd92e97c03
speed up primary index lookups
2016-06-29 17:44:03 +02:00
Kaveh Vahedipour
29acdad6bf
unnecessary double condition
2016-06-29 17:42:41 +02:00
Jan Steemann
4642d2932e
do not use revision id comparisions for compaction, but marker addresses
2016-06-29 15:59:35 +02:00