Jan Christoph Uhde
e690e7fc80
Merge remote-tracking branch 'origin/feature/engine-api/edgeindex-report-as-single-index' into engine-api
...
* origin/feature/engine-api/edgeindex-report-as-single-index:
change mmfiles indexes to work with slightly changed API
fix rocksdb engine index reporting but break report for mmfiles engine
update error messages
2017-04-13 08:46:54 +02:00
Jan Christoph Uhde
1ad5fde19e
change mmfiles indexes to work with slightly changed API
2017-04-13 08:38:13 +02:00
baslr
cfe5d1891f
Merge remote-tracking branch 'origin/devel' into feature/ldap-auth
2017-04-12 20:42:18 +02:00
Michael Hackstein
94c7ac283b
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-04-12 17:28:01 +02:00
Michael Hackstein
5f33a95a82
Fixed AttribtueWeighted ShortestPath computation.
2017-04-12 17:27:45 +02:00
Simon Grätzer
3b3ee5f996
Counter fixes
2017-04-12 17:10:35 +02:00
jsteemann
93e3707a47
fixed issue #2422
2017-04-12 15:38:08 +02:00
jsteemann
ac65ee6fc2
added assert
2017-04-12 15:38:01 +02:00
Dan Larkin
d435d274ea
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-04-12 09:35:19 -04:00
Simon Grätzer
d8c191600a
Better log messages
2017-04-12 15:24:45 +02:00
Simon Grätzer
5df9867a7c
removed unnecessary code
2017-04-12 15:23:35 +02:00
Simon Grätzer
df7e7d3749
Forgotten code
2017-04-12 15:22:30 +02:00
Simon Grätzer
d9510eee0b
Fixing count
2017-04-12 15:22:18 +02:00
Jan Christoph Uhde
2700a6d79d
fix rocksdb engine index reporting but break report for mmfiles engine
2017-04-12 14:50:55 +02:00
Michael Hackstein
034b38f0cc
Replaced the velocypack ConstantDistance ShortestPath API by a StringRef & TraverserCache version. This should be save for RocksDB. This commit fails in ClusterMode.
2017-04-12 14:21:53 +02:00
Simon Grätzer
1d90520a9d
Updated counter manager
2017-04-12 09:58:01 +02:00
Jan Christoph Uhde
afd5d92f19
update error messages
2017-04-12 09:25:59 +02:00
Jan Christoph Uhde
ce77f4933a
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
...
* 'engine-api' of https://github.com/arangodb/arangodb :
Reenabled ShortestPath with AttributeWeight. Was accidentially disabled by options modifications.
2017-04-12 09:08:07 +02:00
Michael Hackstein
7469cc7bec
Reenabled ShortestPath with AttributeWeight. Was accidentially disabled by options modifications.
2017-04-12 09:05:54 +02:00
Jan Christoph Uhde
11d7e11a45
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
...
* 'engine-api' of https://github.com/arangodb/arangodb :
Moved some Edge Lookup logic around and moved the EdgeCursor to it's own class. This is still ongoing work. Expect shortest-path to fail.
Fixed a bug with SortedIndexes. Some sort functions for AstNodes ordered upperbounds before lower bounds. This caused the index iterator to ignore the upperbound in sparse index cases.
ShortestPathOptions now contain forward and backward lookupinfos for all edge collections in use.
The ShortestPathBlock and -Node now use a pointer to the same options instead of managing one each.
Simplified AqlTraverser Setup code by moving shared logic into the TraverserOptions.
Removed external expander functions and moved them into the PathFinder implementations.
2017-04-12 09:01:40 +02:00
Jan Christoph Uhde
d67aa33fe3
limit transaction size and work on intermediate commits
2017-04-12 09:01:13 +02:00
Michael Hackstein
c2be40b4ab
Moved some Edge Lookup logic around and moved the EdgeCursor to it's own class. This is still ongoing work. Expect shortest-path to fail.
2017-04-11 18:03:56 +02:00
Michael Hackstein
3cb9f0b805
Fixed a bug with SortedIndexes. Some sort functions for AstNodes ordered upperbounds before lower bounds. This caused the index iterator to ignore the upperbound in sparse index cases.
2017-04-11 17:57:59 +02:00
Michael Hackstein
9498116450
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-04-11 16:15:14 +02:00
Michael Hackstein
1119257d49
ShortestPathOptions now contain forward and backward lookupinfos for all edge collections in use.
2017-04-11 15:00:21 +02:00
Michael Hackstein
7e3ce102b1
The ShortestPathBlock and -Node now use a pointer to the same options instead of managing one each.
2017-04-11 14:08:21 +02:00
Simon Grätzer
bcea7b62b0
Fixing transaction-no-commit
2017-04-11 14:01:50 +02:00
Michael Hackstein
212de2b0d1
Simplified AqlTraverser Setup code by moving shared logic into the TraverserOptions.
2017-04-11 13:47:06 +02:00
Simon Grätzer
5ed8f67726
Fixed counter manager
2017-04-11 13:09:30 +02:00
Michael Hackstein
b09dfaa323
Removed external expander functions and moved them into the PathFinder implementations.
2017-04-11 11:41:12 +02:00
Simon Grätzer
fac53e5a06
Fixing edge iterator
2017-04-11 10:01:56 +02:00
Simon Grätzer
901ffd5e2f
Fixed rocksdb options
2017-04-11 09:31:39 +02:00
Dan Larkin
b030cdb347
Fixed an edge index iterator bug.
2017-04-10 20:12:15 -04:00
Jan Christoph Uhde
8df9fe1d21
fix error in insert
2017-04-10 21:27:52 +02:00
baslr
d4ae94f937
Merge remote-tracking branch 'origin/devel' into feature/ldap-auth
2017-04-10 17:14:37 +02:00
Andreas Streichardt
bf2efb387e
Fix unlocking of AQL queries in the cluster
2017-04-10 17:01:24 +02:00
Jan Christoph Uhde
8257168519
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
...
* 'engine-api' of https://github.com/arangodb/arangodb :
Removed V8Traverser files and made ShortestPathOptions an extension of Graph::BaseOptions. Now they are ready to use LokkupInfos as well. Now starting to move logic around
Factorized BaseOptions out of TraverserOptions. Those should be used in common for ShortestPath and Traversals. Right now only traverser use it.
2017-04-10 16:34:11 +02:00
Jan Christoph Uhde
60c4f27ec6
finish transaction limiting for truncate
2017-04-10 16:33:36 +02:00
Michael Hackstein
cf7136264b
Removed V8Traverser files and made ShortestPathOptions an extension of Graph::BaseOptions. Now they are ready to use LokkupInfos as well. Now starting to move logic around
2017-04-10 16:26:23 +02:00
Michael Hackstein
d9dbf2111a
Factorized BaseOptions out of TraverserOptions. Those should be used in common for ShortestPath and Traversals. Right now only traverser use it.
2017-04-10 14:09:55 +02:00
Jan Christoph Uhde
bb25adf0e6
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
...
* 'engine-api' of https://github.com/arangodb/arangodb :
Removed unreachable code
Removed superflous aql::ShortestPathOptions and replaced it by traverser::ShortestPathOptions. Api is not fixed yet.
2017-04-10 14:01:32 +02:00
Jan Christoph Uhde
c82fadc863
prepare limitation of transaction size
2017-04-10 14:00:55 +02:00
Michael Hackstein
b3ae8e8676
Removed unreachable code
2017-04-10 11:19:17 +02:00
Michael Hackstein
30d68ba962
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-04-10 11:02:14 +02:00
Michael Hackstein
052c4942fc
Removed superflous aql::ShortestPathOptions and replaced it by traverser::ShortestPathOptions. Api is not fixed yet.
2017-04-10 11:02:01 +02:00
Jan Christoph Uhde
efb6d498f0
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
...
* 'engine-api' of https://github.com/arangodb/arangodb :
Fixed issue with cache transactions.
Fixing more recovery tests
2017-04-10 09:28:54 +02:00
Jan Christoph Uhde
b4b2ac0dbd
work on counting bug
2017-04-10 09:23:35 +02:00
jsteemann
0229ab9326
issue #2415
2017-04-09 23:19:10 +02:00
Dan Larkin
842a665ec5
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-04-07 17:02:34 -04:00
Dan Larkin
eaac6c013c
Fixed issue with cache transactions.
2017-04-07 16:58:22 -04:00
Jan Christoph Uhde
9a079381b3
fix warning and make use of error code
2017-04-07 17:58:33 +02:00
Max Neunhoeffer
53b3a73486
Add a timeout option to <collection>.drop().
...
This is in particular used to allow the Schmutz to make progress
in the case of a long running transaction.
2017-04-07 15:52:19 +02:00
jsteemann
5f72d80cc2
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-04-07 14:56:41 +02:00
jsteemann
cb031de4fe
disable cache in primary index
2017-04-07 14:56:11 +02:00
jsteemann
4cf5fedca9
honor subcodes in rocksdb statuses
2017-04-07 14:55:55 +02:00
jsteemann
08cd4ced33
moved class around
2017-04-07 13:13:48 +02:00
jsteemann
f33d14f0d1
issue #2413 : improve logging in case of lock timeout and deadlocks
2017-04-07 12:30:11 +02:00
jsteemann
742e5d17fd
remove always-true asserts
2017-04-07 12:17:54 +02:00
jsteemann
940209001c
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-04-07 12:06:04 +02:00
jsteemann
2b0673c3fe
removed type "Index"
2017-04-07 12:05:56 +02:00
Simon Grätzer
4ba0f23c97
Fixed rev Id
2017-04-07 11:28:46 +02:00
Simon Grätzer
42a79ed1ac
Fixing counter WAL parsing
2017-04-07 11:26:52 +02:00
Dan Larkin
c066b5c84c
Fixed bug in document update code.
2017-04-06 18:34:11 -04:00
Dan Larkin
f056aeee42
Fixed unloaded collection status reporting issue.
2017-04-06 16:21:51 -04:00
Dan Larkin
06e9c006b8
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-04-06 14:23:27 -04:00
Dan Larkin
aa24d452fe
Fixed any iterator.
2017-04-06 14:23:15 -04:00
Simon Grätzer
4ec65589f5
Added counter remove
2017-04-06 19:00:01 +02:00
Jan Christoph Uhde
b494d22e22
silence warning
2017-04-06 17:42:58 +02:00
Simon Grätzer
8366400e27
Fixed counters
2017-04-06 17:27:14 +02:00
Simon Grätzer
b3b1850f90
Fix while(true){}
2017-04-06 15:25:32 +02:00
Simon Grätzer
f8d76fe9f8
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-04-06 15:16:58 +02:00
Simon Grätzer
4f4dcf58e7
Fixing counter key bounds
2017-04-06 15:16:52 +02:00
jsteemann
f59c78b587
add engine capabilities
2017-04-06 14:50:27 +02:00
jsteemann
e4f8e7e011
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-04-06 14:22:37 +02:00
jsteemann
a8f8587504
fix a test
2017-04-06 14:16:35 +02:00
Simon Grätzer
3071cf7945
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-04-06 13:38:46 +02:00
Simon Grätzer
63d4a34d3f
Fixed Any iterator
2017-04-06 13:38:40 +02:00
jsteemann
0b9982d237
fix crash
2017-04-06 13:22:51 +02:00
jsteemann
77db254530
added fake selectivity estimate
2017-04-06 12:54:24 +02:00
jsteemann
d76f9f67ff
fix crash
2017-04-06 12:49:45 +02:00
Simon Grätzer
61791509d6
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-04-06 12:41:59 +02:00
Simon Grätzer
fce51594ac
Fixing hash index semantics
2017-04-06 12:41:47 +02:00
jsteemann
617e23e25a
cppcheck
2017-04-06 11:48:07 +02:00
Jan Christoph Uhde
5e63ba1e6f
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
...
* 'engine-api' of https://github.com/arangodb/arangodb :
fix objectId handling
Fixing windows build
Fixing windows build
Bugfix: we want the common _and_ the server tests.
Conversion warnings
Conversion errors
Renaming test files
fix windows build
fix if clause
exclude longrunning tests
add slash here too.
...
2017-04-06 11:20:32 +02:00
jsteemann
8b57f1996e
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-04-06 11:19:41 +02:00
jsteemann
82fe6cf098
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-04-06 11:19:36 +02:00
Jan Christoph Uhde
cc39030042
move key options ot logical collection
2017-04-06 11:19:30 +02:00
jsteemann
0e98a32455
fix objectId handling
2017-04-06 11:19:27 +02:00
Simon Grätzer
e58bdb6258
Fixing windows build
2017-04-06 11:17:42 +02:00
Simon Grätzer
6435e3b2bc
Fixing windows build
2017-04-06 11:15:49 +02:00
Simon Grätzer
08167c2614
Conversion warnings
2017-04-06 10:56:50 +02:00
Simon Grätzer
a90e62bc02
Conversion errors
2017-04-06 10:50:40 +02:00
Dan Larkin
3c3d6ae52f
Slightly improved any iterator.
2017-04-05 18:03:10 -04:00
Dan Larkin
ae84e8ac84
Cache workaround to pass upgrade test.
2017-04-05 12:55:16 -04:00
Michael Hackstein
e3325e7e87
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-04-05 17:47:32 +02:00
Michael Hackstein
daa8b2b855
Detemplateified the ShortestPath class structure.
2017-04-05 17:47:14 +02:00
Simon Grätzer
b3743292e3
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-04-05 17:43:49 +02:00
Simon Grätzer
19f220726e
Fixed dump setup
2017-04-05 17:43:38 +02:00
jsteemann
5bca16bbf3
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-04-05 17:08:57 +02:00
Michael Hackstein
fbd3e4e237
Removed VertexID from ShortestPath templates.
2017-04-05 17:01:05 +02:00
Michael Hackstein
ee57f9abef
Renamed ConstDistanceFinder => ConstantWeightShortestPathFinder
2017-04-05 16:29:40 +02:00
Michael Hackstein
30095556e9
Renamed DynamicDistanceFinder => AttributeWeightShortestPathFinder
2017-04-05 16:21:38 +02:00
Michael Hackstein
829fb4be54
Renamed PathFinder => ShortestPathFinder.
2017-04-05 16:17:37 +02:00
Michael Hackstein
535e4cd6cb
Renamed PriorityQueue => ShortestPathPriorityQueue
2017-04-05 16:12:47 +02:00
Michael Hackstein
49f8ba8f85
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-04-05 15:33:00 +02:00
Michael Hackstein
e64cadde7d
Added a toAqlValue in ManagedDocumentResult that should be called from outside. This figures out if we have to copy the content into the AqlValue or if we could just point to the raw data.
2017-04-05 15:32:45 +02:00
Michael Hackstein
039c6fbd16
Moved all logic of lib/Basics/PathFinder into seperated files in arangod/Graph. Preparation to detemplatify this code as we need some arangodb interna in it for Slice mangement
2017-04-05 15:31:44 +02:00
Simon Grätzer
060ddcea59
Fixed database drop
2017-04-05 15:17:54 +02:00
jsteemann
e5d733867e
make more tests pass
2017-04-05 14:57:18 +02:00
jsteemann
171160db6a
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-04-05 14:51:24 +02:00
jsteemann
eaba8c5db0
make begin() behave correctly when there is OOM
2017-04-05 14:51:09 +02:00
Simon Grätzer
342613bd59
Fixing export
2017-04-05 14:03:58 +02:00
jsteemann
5880daf2a5
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-04-05 13:40:25 +02:00
jsteemann
1c43920bfc
preparations for revision()
2017-04-05 13:40:18 +02:00
Simon Grätzer
d61cdd23ee
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-04-05 13:38:47 +02:00
Simon Grätzer
5822e77843
invokeOnAllElements
2017-04-05 13:38:43 +02:00
jsteemann
6480d56b7e
fix memleak
2017-04-05 13:24:01 +02:00
jsteemann
8d864f92d8
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-04-05 13:20:59 +02:00
jsteemann
2bdda1b9f4
try to fix compile error
2017-04-05 13:18:16 +02:00
jsteemann
56e946bcaf
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-04-05 12:32:09 +02:00
jsteemann
c086e31a3f
fix range lookups
2017-04-05 12:32:00 +02:00
jsteemann
79fc5224cb
fix count()
2017-04-05 12:31:53 +02:00
Michael Hackstein
ef372c60c8
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2017-04-05 12:27:12 +02:00
Michael Hackstein
61f0bfc9d8
The traverserengine registry will now wait until an engine is freed instead of throwing a deadlock situation
2017-04-05 12:26:09 +02:00
Simon Grätzer
1ef373dea7
Fixing some conversion issues
2017-04-05 12:16:53 +02:00
jsteemann
dac6aeab0b
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-04-05 12:10:40 +02:00
jsteemann
adcb8b6a29
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-04-05 12:10:35 +02:00
jsteemann
b39935b711
fix conversion warning
2017-04-05 12:06:06 +02:00
Simon Grätzer
b69294641f
Moving api-wal-noncluster and adding running trx
2017-04-05 11:54:30 +02:00
jsteemann
72c62182de
added assertion
2017-04-05 11:23:48 +02:00
Simon Grätzer
9019dd380c
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-04-05 10:48:24 +02:00
Simon Grätzer
57b0aa4a3d
Any iterator
2017-04-05 10:48:08 +02:00
jsteemann
e5ba517ecf
fixed shutdown issue
2017-04-05 10:43:05 +02:00
Michael Hackstein
417b594032
Added checks if we got a nullptr from CacheManager in TraverserCache.
2017-04-05 09:43:44 +02:00
Michael Hackstein
8daa3820c7
Fixed initialisation of Member variable in IndexBlock
2017-04-05 09:33:50 +02:00
jsteemann
9f330881a2
constify method
2017-04-05 09:00:06 +02:00
jsteemann
d37ef3b2a7
don't make Scheduler depend on Database again. needs to be fixed properly
2017-04-05 08:35:44 +02:00
jsteemann
8759ca3021
remove unused variable
2017-04-05 08:34:55 +02:00
jsteemann
b338abba5d
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-04-05 08:31:20 +02:00
Dan Larkin
dd0a7c8869
Move assertions to maintainer mode conditional blocks.
2017-04-04 19:17:23 -04:00
Dan Larkin
872dd95ca8
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-04-04 17:35:30 -04:00
Dan Larkin
e303e2a51f
Added RocksDB export functionality and some bug fixes.
2017-04-04 17:33:14 -04:00
Michael Hackstein
a16972f53f
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-04-04 19:08:31 +02:00
Michael Hackstein
e56c20b99a
Finally fixed undefined behaviour in IndexNode. Missed one part in the comit before
2017-04-04 19:08:21 +02:00
Simon Grätzer
01ea3556b8
Added REST Wal handler
2017-04-04 18:27:19 +02:00
jsteemann
ad287a406c
fix a shutdown error
2017-04-04 17:23:23 +02:00
jsteemann
78302d1766
make versionFilename() a property of the engine
2017-04-04 17:23:02 +02:00
Simon Grätzer
de388b10a0
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-04-04 17:09:41 +02:00
Simon Grätzer
b8ccfb72f8
Fill indexes
2017-04-04 17:09:35 +02:00
Michael Hackstein
40634f88ab
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-04-04 16:58:12 +02:00
Michael Hackstein
c928072bae
Fixed IndexBlock. It now directly writes into the AQL register and does not rely on slices staying active
2017-04-04 16:57:54 +02:00
jsteemann
fd258acc1d
fix index removal
2017-04-04 16:45:19 +02:00
jsteemann
7fc2d97ae1
fix dropping of indexes
2017-04-04 16:41:05 +02:00
jsteemann
6598d94e3d
fix assertion failure
2017-04-04 15:52:54 +02:00
jsteemann
de769b534d
split ManagedDocumentResult in .h and .cpp files
2017-04-04 15:47:05 +02:00
jsteemann
429869d4f4
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-04-04 15:27:38 +02:00
jsteemann
14921c6fba
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-04-04 15:27:32 +02:00
jsteemann
b293668bb0
cppcheck
2017-04-04 15:27:28 +02:00
Simon Grätzer
96dc714139
Fixed some tests in shell_server
2017-04-04 15:10:17 +02:00
Simon Grätzer
c113685700
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-04-04 14:23:27 +02:00
Simon Grätzer
464cf7dd40
Removing documents
2017-04-04 14:23:17 +02:00
Jan Christoph Uhde
3532ea88b0
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
...
* 'engine-api' of https://github.com/arangodb/arangodb :
Fixing comparator use
2017-04-04 14:11:57 +02:00
Jan Christoph Uhde
358793c804
update doc for comparator usage
2017-04-04 14:11:30 +02:00
Simon Grätzer
245b4b87ea
Fixing comparator use
2017-04-04 14:11:14 +02:00
Simon Grätzer
046b768553
Fix renamed method
2017-04-04 13:40:03 +02:00
Simon Grätzer
244b034aeb
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-04-04 13:38:56 +02:00
Simon Grätzer
936945c714
Modified truncate
2017-04-04 13:38:51 +02:00
jsteemann
4196594130
fixed crash
2017-04-04 13:27:35 +02:00
Jan Christoph Uhde
dfeadeabe1
begin to split http tests for mmfiles and rocksdb
2017-04-04 13:22:05 +02:00
hkernbach
c270667062
added log topic attribute to /_admin/log api
2017-04-04 12:06:44 +02:00
jsteemann
949985dff1
report a path, make it restartable
2017-04-04 12:03:29 +02:00
Simon Grätzer
d9d921ed6d
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-04-04 11:52:46 +02:00
jsteemann
48663a696a
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-04-04 11:40:56 +02:00
Simon Grätzer
580bb19bd7
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-04-04 11:38:57 +02:00
Simon Grätzer
3066a67005
Collection rename
2017-04-04 11:38:52 +02:00
Jan Christoph Uhde
b3526d2626
add error handling
2017-04-04 11:35:55 +02:00
Jan Christoph Uhde
cea5fa8e4f
delete views when dropping database
2017-04-04 11:22:22 +02:00
Simon Grätzer
80197fc95e
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-04-04 10:58:46 +02:00
Jan Christoph Uhde
3c4bdc106c
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
...
* 'devel' of https://github.com/arangodb/arangodb :
Cluster: expose body as V8 buffer in asyncRequest
Cluster: expose getFoxxmaster in V8
make rspec backtrace more compact
2017-04-04 10:51:07 +02:00
Simon Grätzer
ca790e9327
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-04-04 10:48:44 +02:00
Simon Grätzer
c123ac3734
Fixed truncate
2017-04-04 10:48:37 +02:00
Jan Christoph Uhde
11a048c420
replace prepare drop with empty stub
2017-04-04 10:29:04 +02:00
jsteemann
e7c0633e8c
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-04-04 10:24:02 +02:00
jsteemann
0c14c53633
dont fail on method that does nothing
2017-04-04 10:23:49 +02:00
Jan Christoph Uhde
84fc33c8bd
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
...
* 'engine-api' of https://github.com/arangodb/arangodb :
fix result handling
2017-04-04 10:16:49 +02:00
jsteemann
ceec5c8bd3
fix result handling
2017-04-04 10:10:59 +02:00
Jan Christoph Uhde
93a54e26f3
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
...
* 'engine-api' of https://github.com/arangodb/arangodb :
make SORT RAND() removal a feature of the old engine
Some bug fixes.
2017-04-04 09:55:30 +02:00
Jan Christoph Uhde
34aa22948d
add helper function for non-transactional iteration of bounds
2017-04-04 09:54:58 +02:00
jsteemann
ef3322b81f
make SORT RAND() removal a feature of the old engine
2017-04-04 08:55:08 +02:00
Dan Larkin
9ec54dc23b
Some bug fixes.
2017-04-03 21:01:16 -04:00
Alan Plum
bb6ffd70de
Cluster: expose body as V8 buffer in asyncRequest
2017-04-03 22:20:37 +02:00
Alan Plum
a5a3542280
Cluster: expose getFoxxmaster in V8
2017-04-03 22:20:37 +02:00
Jan Christoph Uhde
5773a028c8
add more code for dropping databases
2017-04-03 21:29:25 +02:00
jsteemann
0a00c8b4f5
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-04-03 17:58:34 +02:00
jsteemann
02ff94880f
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-04-03 17:58:29 +02:00
Wilfried Goesgens
8e9f1d0fe4
add helpfull error messages for the dead and gone dispatcher
2017-04-03 17:51:47 +02:00
Jan Christoph Uhde
b48975fc37
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
...
* 'engine-api' of https://github.com/arangodb/arangodb :
Fixed allocation bug for many-cache situation.
Fixed comparator
added internal.wal.flush()
added v8 functions
RocksDB Indexes do now destroy their cache as soon as they are dropped, instead of during deletion
2017-04-03 17:51:01 +02:00
Jan Christoph Uhde
256b2b2d6a
construct rocksdbkey from slice
2017-04-03 17:50:36 +02:00
Dan Larkin
846cde2e27
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-04-03 11:44:44 -04:00
Dan Larkin
c339b641b8
Fixed allocation bug for many-cache situation.
2017-04-03 11:44:37 -04:00
jsteemann
6e57bcfe50
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-04-03 17:31:24 +02:00
Simon Grätzer
53e5dc8e24
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-04-03 17:28:17 +02:00
Simon Grätzer
e6919fc6c2
Fixed comparator
2017-04-03 17:28:13 +02:00
jsteemann
ad3f1074fe
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-04-03 17:26:39 +02:00
jsteemann
947a2427ca
added internal.wal.flush()
2017-04-03 17:25:24 +02:00
jsteemann
b9bf7d298b
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-04-03 17:14:19 +02:00
jsteemann
8e3d83aa6e
added v8 functions
2017-04-03 17:14:09 +02:00
Michael Hackstein
ac1f51e3ea
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-04-03 17:10:33 +02:00
Michael Hackstein
3d39766f12
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-04-03 17:10:21 +02:00
Michael Hackstein
069394634c
RocksDB Indexes do now destroy their cache as soon as they are dropped, instead of during deletion
2017-04-03 17:10:10 +02:00
Jan Christoph Uhde
1806624e41
fix compile error
2017-04-03 17:09:11 +02:00
Jan Christoph Uhde
ae75917640
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
...
* 'engine-api' of https://github.com/arangodb/arangodb :
added assertion to Comparator
fix RemoveLargeRange
fix ub
fix assertion failure at shutdown
Remove provisional code
Fixed counter
remove usleeps
Fixed deadlock
Fixed broken merge
Fixing some issues
added p/ to gitignore
Integrated counters with collections
properly include the javascript enterprise folders into the test tarballs
fix parsing for URLs starting with ldap://
fix filter for replication testcases
Added counter manager
updated licenses, added generator
removed jshint completely
2017-04-03 16:54:09 +02:00
Jan Christoph Uhde
234180c08b
wip - drop database
2017-04-03 16:52:21 +02:00
jsteemann
f619cc5d0f
added assertion to Comparator
2017-04-03 15:44:37 +02:00
jsteemann
c4ecfbf089
fix RemoveLargeRange
2017-04-03 15:44:30 +02:00
jsteemann
f162fb2a0f
fix ub
2017-04-03 15:26:38 +02:00
jsteemann
72f1790057
fix assertion failure at shutdown
2017-04-03 15:21:43 +02:00
Simon Grätzer
664f45d029
Fixed counter
2017-04-03 15:16:14 +02:00
Simon Grätzer
64101eebec
Fixed deadlock
2017-04-03 15:00:37 +02:00
Simon Grätzer
bc36c56716
Fixed broken merge
2017-04-03 14:52:12 +02:00
jsteemann
b0d500b19a
fail @jsteemann
2017-04-03 14:48:38 +02:00
Simon Grätzer
d10ebac338
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
...
# Conflicts:
# arangod/RocksDBEngine/RocksDBEngine.cpp
2017-04-03 14:26:14 +02:00
Simon Grätzer
7afcac9ed7
Fixing some issues
2017-04-03 14:24:58 +02:00
jsteemann
8e13009393
fix invalid assertion
2017-04-03 14:22:21 +02:00
Jan Christoph Uhde
ec1fbb29fd
now drop elements for indexes as well
2017-04-03 13:32:17 +02:00
Simon Grätzer
c46db78904
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
...
# Conflicts:
# arangod/RocksDBEngine/RocksDBCommon.h
# arangod/RocksDBEngine/RocksDBEngine.cpp
2017-04-03 13:27:04 +02:00
Simon Grätzer
cf4294c9ca
Integrated counters with collections
2017-04-03 13:24:22 +02:00
Michael Hackstein
83e42cf6aa
Added a destructor for RocksDB indxes that destroys the cache in the manager. Otherwise we end up with too many caches.
2017-04-03 13:16:38 +02:00
Michael Hackstein
4a4b46f66b
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-04-03 13:15:56 +02:00
Michael Hackstein
2f29228d3c
AqlFeature will now start after cache-manager.
2017-04-03 13:01:38 +02:00
Jan Christoph Uhde
e49024f16e
add drop collection to rocksdb engine
2017-04-03 10:41:02 +02:00
Simon Grätzer
805314274e
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-04-03 09:23:41 +02:00
Simon Grätzer
01036b65d9
Added counter manager
2017-04-03 09:23:35 +02:00
Dan Larkin
23038fdc3b
Fixed uniqueness checking in primary index.
2017-03-31 18:03:50 -04:00
Dan Larkin
f30f4bdb47
Implemented views methods.
2017-03-31 17:09:27 -04:00
Dan Larkin
631b4e93e0
Honored limit in RocksDBVPackIndex iterator.
2017-03-31 11:10:32 -04:00
jsteemann
90121b69fd
honor limit in iterators
2017-03-31 17:05:45 +02:00
Jan Christoph Uhde
46cfae8a7e
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
...
* 'engine-api' of https://github.com/arangodb/arangodb :
comment out log spam
added comments
fix cross book links
2017-03-31 15:45:43 +02:00
Jan Christoph Uhde
772a7a32da
add buffer() to RocksDBValue for data retrieval
2017-03-31 15:41:27 +02:00
jsteemann
6f3e37ac36
comment out log spam
2017-03-31 15:37:33 +02:00
jsteemann
ff0e1b1a54
added comments
2017-03-31 15:25:57 +02:00
Jan Christoph Uhde
c038815941
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
...
* 'engine-api' of https://github.com/arangodb/arangodb :
transaction-specific count tracking
initial implementation of count()
Fixed memory leaks in traverser.
Fix links in docs
Fix links in docs
pass trx into numberDocuments
Fixed undefined behaviour in TraverserCache.
improve error message in case wrong JSON is sent to the server
2017-03-31 15:06:21 +02:00
Jan Christoph Uhde
0140822dc4
implement persist index
2017-03-31 15:06:06 +02:00
baslr
29728125ac
Merge remote-tracking branch 'origin/devel' into feature/ldap-auth
2017-03-31 15:05:24 +02:00
jsteemann
07cdc49504
transaction-specific count tracking
2017-03-31 14:57:21 +02:00
jsteemann
a93d8ad45f
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-03-31 14:05:58 +02:00
jsteemann
689140fbd0
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-03-31 14:05:53 +02:00
jsteemann
794cace842
initial implementation of count()
2017-03-31 14:05:44 +02:00
Michael Hackstein
952fcb607c
Fixed memory leaks in traverser.
2017-03-31 13:52:07 +02:00
Jan Christoph Uhde
058d835e1f
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
...
* 'engine-api' of https://github.com/arangodb/arangodb :
Fixed HashIndex matchesDefinition method
Marked hash index selectivity test as MMFiles only
Fixed persistent index
Added some small fixes
2017-03-31 13:34:28 +02:00
Jan Christoph Uhde
6a771c3caf
fix result handling
2017-03-31 13:34:02 +02:00
Simon Grätzer
0fd98ed0bb
Fixed HashIndex matchesDefinition method
2017-03-31 12:22:58 +02:00
baslr
dd00eade91
Merge remote-tracking branch 'origin/devel' into feature/ldap-auth
2017-03-31 12:09:04 +02:00
Simon Grätzer
0a5ca1baf8
Fixed persistent index
2017-03-31 11:44:40 +02:00
jsteemann
ab10a19974
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-03-31 11:33:35 +02:00
jsteemann
a1d0acf28e
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-03-31 11:33:29 +02:00
jsteemann
81dcfbbe3d
pass trx into numberDocuments
2017-03-31 11:33:16 +02:00
Simon Grätzer
36fa358a51
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-03-31 11:29:47 +02:00
Simon Grätzer
807d38784c
Added some small fixes
2017-03-31 11:29:27 +02:00
Michael Hackstein
d4ba5a1bec
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2017-03-31 11:01:30 +02:00
Michael Hackstein
78b920c5de
Fixed undefined behaviour in TraverserCache.
2017-03-31 11:01:20 +02:00
jsteemann
c92ec139a7
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-03-31 10:34:50 +02:00
jsteemann
77cddde70b
improve error message in case wrong JSON is sent to the server
2017-03-31 10:32:03 +02:00
jsteemann
49551127b9
de-constified lookupKey
2017-03-31 10:16:14 +02:00
jsteemann
fdd5b3036d
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-03-31 09:34:06 +02:00
Dan Larkin
b6dc6aa4be
Fixed stupid bug in comparator.
2017-03-30 21:39:39 -04:00
Dan Larkin
e689bdce05
Set snapshot in transaction and read options.
2017-03-30 16:42:24 -04:00
Dan Larkin
3966c83730
Fix merge conflicts.
2017-03-30 16:11:58 -04:00
Dan Larkin
079c5764e8
Added cache support to RocksDBPrimaryIndex.
2017-03-30 16:09:40 -04:00
Jan Christoph Uhde
3e1c05ed97
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
...
* 'engine-api' of https://github.com/arangodb/arangodb :
Finished basic implementation of RocksDBVPackIndex.
2017-03-30 21:43:20 +02:00
Dan Larkin
e305f87afd
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-03-30 15:21:16 -04:00
Dan Larkin
8dbe314ad6
Finished basic implementation of RocksDBVPackIndex.
2017-03-30 15:21:08 -04:00
Jan Christoph Uhde
bc27e4f0d6
Merge branch 'engine-api-arango-result' into engine-api
...
* engine-api-arango-result:
Add more copy debugging snippets to README_maintainers
fix bug in Transaction state
fix bug in import handler
print more when using extremeVerbosity
improve arangodb::Result
add information on debugging
refactor some code to make use of arangodb::Result
2017-03-30 21:01:12 +02:00
baslr
7c3cb24a10
Merge remote-tracking branch 'origin/devel' into feature/ldap-auth
2017-03-30 20:17:45 +02:00
Jan Christoph Uhde
95007fe28e
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api-arango-result
...
* 'engine-api' of https://github.com/arangodb/arangodb : (46 commits)
Merged RocksDBPathBasedIndex into RocksDBVPackIndex.
fix handling of externals
fix toArray()
fix returning documents
Added hash-, skip list, persistent indexes
harmonize filtering - filter on full filename.
mini modifications
standardize starting of servers for replication tests
Edge index compliant with design doc
another fix for #2404
Moved „removeLargeRange“ method to commons
Added length byte to IndexValue keys.
fixed issue #2404
Added drop to primary index
Added drop() to indexes
Fixes a coordinator crash in Clustered Traversal. In case of failover during query planning.
Fixed edge index
Expand on CORS documentation
Let ArangoDB handle the allow-credentials header
make the authentication tests run on directories
...
2017-03-30 19:46:17 +02:00
Simon Grätzer
fd52c1a7f4
Added count function
2017-03-30 19:20:42 +02:00
Dan Larkin
fa48111eb3
Merged RocksDBPathBasedIndex into RocksDBVPackIndex.
2017-03-30 12:56:43 -04:00
Dan Larkin
42807f17fb
Added partialUpdate flag for view property modification.
2017-03-30 12:04:58 -04:00
jsteemann
bf4174ba40
fix handling of externals
2017-03-30 17:37:09 +02:00
jsteemann
704c746c0d
fix toArray()
2017-03-30 17:02:54 +02:00
Michael Hackstein
8a42089bed
Fixed loglevel from error to debug as the situation is actually expect, just not performant.
2017-03-30 16:39:33 +02:00
jsteemann
8e9aaa2b51
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-03-30 16:22:37 +02:00
jsteemann
677960785a
fix returning documents
2017-03-30 16:22:30 +02:00
Simon Grätzer
70537be824
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-03-30 16:00:32 +02:00
Simon Grätzer
9754d38df3
Added hash-, skip list, persistent indexes
2017-03-30 16:00:27 +02:00
jsteemann
d563eb432f
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-03-30 15:50:53 +02:00
jsteemann
894666915d
mini modifications
2017-03-30 15:50:23 +02:00
Simon Grätzer
1d3149c31b
Edge index compliant with design doc
2017-03-30 15:11:03 +02:00
jsteemann
b0f6458e28
another fix for #2404
2017-03-30 15:07:55 +02:00
Jan Christoph Uhde
9619e77e1c
fix bug in Transaction state
2017-03-30 15:01:22 +02:00
Jan Christoph Uhde
36fb83efae
fix bug in import handler
2017-03-30 15:00:46 +02:00
jsteemann
90bade1976
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-03-30 14:56:19 +02:00
Simon Grätzer
ed124e09ab
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-03-30 14:46:25 +02:00
Simon Grätzer
e246a8d8cb
Moved „removeLargeRange“ method to commons
2017-03-30 14:46:21 +02:00
Dan Larkin
423feffb90
Added length byte to IndexValue keys.
2017-03-30 08:43:15 -04:00
jsteemann
ddb83c8075
fixed issue #2404
2017-03-30 14:18:38 +02:00
Simon Grätzer
e8739dc2a4
Added drop to primary index
2017-03-30 14:06:10 +02:00
Simon Grätzer
1c6207fd86
Added drop() to indexes
2017-03-30 14:04:18 +02:00
Michael Hackstein
053f953ee5
Fixes a coordinator crash in Clustered Traversal. In case of failover during query planning.
2017-03-30 13:24:44 +02:00
Simon Grätzer
3eb1723dec
Fixed edge index
2017-03-30 13:22:39 +02:00
jsteemann
c1b6c815bc
fix dropping of collections
2017-03-30 11:20:23 +02:00
Jan Christoph Uhde
b83ae2ab82
refactor some code to make use of arangodb::Result
2017-03-30 09:39:21 +02:00
baslr
3b2ccf46f4
Merge remote-tracking branch 'origin/devel' into feature/ldap-auth
2017-03-30 01:55:08 +02:00
Dan Larkin
73154490fa
Added shell of RocksDBVPackIndex.
2017-03-29 17:35:41 -04:00
jsteemann
a0adeed1c3
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-03-29 18:14:40 +02:00
Dan Larkin
7dcb555b72
Added PATCH support to view rest handler.
2017-03-29 12:13:55 -04:00
jsteemann
5046112d86
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-03-29 18:01:26 +02:00
Simon Grätzer
6fd666fc8d
Added some documentation
2017-03-29 17:56:04 +02:00
jsteemann
3ff4f15a19
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-03-29 17:50:55 +02:00
jsteemann
e73417aef1
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-03-29 17:50:49 +02:00
Simon Grätzer
6b889e0a27
Fixed addIndexValues
2017-03-29 17:40:20 +02:00
mpv1989
e763233ca7
Foxx: Fix arangoUser not being set correctly
2017-03-29 17:33:16 +02:00
Simon Grätzer
cd9e9a13cf
Path based enumerator
2017-03-29 17:33:02 +02:00
baslr
0713099acc
Merge remote-tracking branch 'origin/devel' into feature/ldap-auth
2017-03-29 15:13:24 +02:00
jsteemann
bd4a2eb6b6
make @dothebart happier
2017-03-29 15:04:54 +02:00
Simon Grätzer
89a869d684
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-03-29 13:19:01 +02:00
jsteemann
f04f6e7cd4
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-03-29 12:53:26 +02:00
jsteemann
d75a72eff2
honor feature optionality
2017-03-29 12:53:05 +02:00
Wilfried Goesgens
619713c596
fix lock file error handling, improve error messages
2017-03-29 12:22:08 +02:00
jsteemann
080bd49791
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-03-29 12:16:22 +02:00
jsteemann
df19cf3413
added stub implementation for update
2017-03-29 12:08:20 +02:00
Simon Grätzer
d8d7b99a47
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-03-29 11:38:24 +02:00
Simon Grätzer
901abc6705
Fixing some windows conversion warnings
2017-03-29 11:35:37 +02:00
Jan Christoph Uhde
408d7cab12
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
...
* 'engine-api' of https://github.com/arangodb/arangodb :
fixed serialization bug
warn before we run out of file descriptors
updated CHANGELOG
slightly simplify logging
2017-03-29 11:22:18 +02:00
Jan Christoph Uhde
796c32a341
improve error handling in some places
2017-03-29 11:04:04 +02:00
Simon Grätzer
8b832fe746
Moved to KeyBounds for edge prefix
2017-03-29 10:07:12 +02:00
Simon Grätzer
08047ab5e6
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-03-29 09:47:49 +02:00
Simon Grätzer
9ba5586f32
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
...
# Conflicts:
# arangod/RocksDBEngine/CMakeLists.txt
2017-03-29 09:47:41 +02:00
jsteemann
383239a14f
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-03-29 09:17:44 +02:00
jsteemann
38ac3c23c8
fixed serialization bug
2017-03-29 09:17:23 +02:00
jsteemann
f728fcdbb8
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-03-29 02:41:00 +02:00
jsteemann
e3ca787992
warn before we run out of file descriptors
2017-03-29 02:35:46 +02:00
Dan Larkin
8c024574d2
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-03-28 19:18:05 -04:00
Dan Larkin
c1c7b27af0
Fixed RocksDBPrimaryIndex API.
2017-03-28 19:17:58 -04:00
jsteemann
d4752433f0
slightly simplify logging
2017-03-29 01:16:55 +02:00
jsteemann
fcd54f7a17
get rid of compile warning
2017-03-29 01:03:07 +02:00
Dan Larkin
e3609dbabf
Added proper RocksDBPrimaryIndex implementation.
2017-03-28 18:52:09 -04:00
baslr
7f92c26774
Merge remote-tracking branch 'origin/devel' into feature/ldap-auth
2017-03-29 00:29:16 +02:00
jsteemann
e1aef394d8
delete useless DEV_TIMERS, fix rwlockcpp11
2017-03-28 22:38:27 +02:00
Simon Grätzer
94e99c28c9
Added PathBasedIndex
2017-03-28 21:50:03 +02:00
jsteemann
eefdb2542d
honor cppcheck results
2017-03-28 21:42:34 +02:00
Dan Larkin
06953bdd1d
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-03-28 13:57:16 -04:00
Dan Larkin
1b504b66c2
Added RocksDBKeyBounds class to handle left/right prefixes.
2017-03-28 13:57:07 -04:00
jsteemann
2ff83c7fa9
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-03-28 17:59:47 +02:00
jsteemann
f4ce81f2e3
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-03-28 17:59:32 +02:00
Dan Larkin
9b259d91fa
Added comparator to engine/index.
2017-03-28 11:58:04 -04:00
jsteemann
a221d30b8f
added savepoints
2017-03-28 17:55:25 +02:00
Dan Larkin
77c95181d8
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-03-28 11:42:59 -04:00
Dan Larkin
3ec6934eb5
Changed RocksDBValue API slightly.
2017-03-28 11:42:52 -04:00
Simon Grätzer
d5d4cae724
Added read options to edge index
2017-03-28 17:41:49 +02:00
Simon Grätzer
b1f010e33c
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
...
# Conflicts:
# arangod/RocksDBEngine/RocksDBTransactionState.h
2017-03-28 17:23:38 +02:00
Simon Grätzer
913b60c983
Fix usleep
2017-03-28 17:15:05 +02:00
Jan Christoph Uhde
6a39e962bd
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
...
* 'engine-api' of https://github.com/arangodb/arangodb :
add RocksDBIndex as base class for rocksdb-based indexes
fixed issue #2400
fixed issue: #2389
2017-03-28 17:00:00 +02:00
Jan Christoph Uhde
7b48e45fa2
add readOptions to transaction
2017-03-28 16:59:39 +02:00
jsteemann
9e15fb4f35
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-03-28 16:59:22 +02:00
jsteemann
c986590384
add RocksDBIndex as base class for rocksdb-based indexes
2017-03-28 16:56:29 +02:00
Jan Christoph Uhde
1b5cefddd3
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
...
* 'engine-api' of https://github.com/arangodb/arangodb :
Fix build error
Adding RocksDBPrimaryMockIndexIterator
2017-03-28 15:51:05 +02:00
Jan Christoph Uhde
4b33614e12
Avoid one copy during document lookup for RocksDBEngine
2017-03-28 15:50:09 +02:00
Simon Grätzer
7fd102692f
Fix build error
2017-03-28 15:16:08 +02:00
Simon Grätzer
c592f911f3
Adding RocksDBPrimaryMockIndexIterator
2017-03-28 15:10:00 +02:00
Jan Christoph Uhde
965026ec6b
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
...
* 'engine-api' of https://github.com/arangodb/arangodb :
Fixed RocksDBAllIndexIterator
2017-03-28 14:55:58 +02:00
Jan Christoph Uhde
c6111ac8e3
silence warinings
2017-03-28 14:55:19 +02:00
Simon Grätzer
aa1b443d85
Fixed RocksDBAllIndexIterator
2017-03-28 14:53:16 +02:00
Jan Christoph Uhde
31c52f60ff
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
...
* 'engine-api' of https://github.com/arangodb/arangodb :
Added RocksDBPrimaryMockIndexIterator
2017-03-28 14:52:59 +02:00
Jan Christoph Uhde
3c31ec2314
add function for looking up revisions to collection
2017-03-28 14:49:19 +02:00
Simon Grätzer
5e630d818f
Added RocksDBPrimaryMockIndexIterator
2017-03-28 14:37:33 +02:00
Simon Grätzer
7a26fb22c1
Pushing commons method
2017-03-28 14:07:01 +02:00
jsteemann
40e4bba260
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-03-28 14:03:53 +02:00
Simon Grätzer
f5b44d1c12
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-03-28 14:02:35 +02:00
Simon Grätzer
9e1a181393
Edge index tax changes
2017-03-28 14:02:29 +02:00
baslr
3161fdc6f8
Merge remote-tracking branch 'origin/devel' into feature/ldap-auth
2017-03-28 14:02:16 +02:00
jsteemann
467307fd07
fixed issue #2400
2017-03-28 13:58:49 +02:00
jsteemann
e9e0d3a46c
remove unused attribute
2017-03-28 13:25:10 +02:00
jsteemann
2e178d4378
make _objectId const
2017-03-28 13:25:03 +02:00
Simon Grätzer
cfef1498f4
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-03-28 12:01:48 +02:00
Simon Grätzer
b2300ca207
Added EdgeIndexValue to RocksDBKey and switched lookup to StringRef
2017-03-28 12:01:40 +02:00
Jan Christoph Uhde
b5e760b1d3
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
...
* 'engine-api' of https://github.com/arangodb/arangodb :
move engine sources into their own cmake files
Fixed exception because of hash index
Fixed feature start order
fix recovery test
Edge index fixes
remove alignas
fix recovery test
force recovery tests to fail when not compiled with failure-tests
implement SLEEP() in C++
remove useless and harmful adjustment (lowering) of file descriptors limit
Windows: fix namespaces
fix recovery tests
slightly adjusted index creation
Removed some alignas directives.
alias boost to catch
fix arangosh test
start splitting testing.js into handy bits.
start splitting testing.js into handy bits.
start splitting testing.js into handy bits.
2017-03-28 12:01:24 +02:00
Jan Christoph Uhde
96897ebe08
ManagedDocumentResult now manages data when using setManaged
2017-03-28 11:54:04 +02:00
Wilfried Goesgens
dac3b18040
move engine sources into their own cmake files
2017-03-28 11:38:45 +02:00
Simon Grätzer
4174183ffa
Fixed exception because of hash index
2017-03-28 11:29:52 +02:00
Simon Grätzer
007ee4b081
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-03-28 10:57:25 +02:00
Simon Grätzer
38aa0cac4b
Fixed feature start order
2017-03-28 10:56:33 +02:00
jsteemann
cedee8ed02
fix recovery test
2017-03-28 10:46:56 +02:00
Simon Grätzer
d6b7df6ba1
Edge index fixes
2017-03-28 10:13:07 +02:00
jsteemann
17c1a6db05
fix recovery test
2017-03-28 10:04:39 +02:00
jsteemann
8f5230e29c
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-03-28 09:48:50 +02:00
jsteemann
a6242fd474
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-03-28 09:45:57 +02:00
jsteemann
3d0beb3a23
implement SLEEP() in C++
2017-03-28 09:45:53 +02:00
jsteemann
2c688aa0fa
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-03-28 09:40:12 +02:00
Simon Grätzer
7aa68ba532
Windows: fix namespaces
2017-03-28 09:35:15 +02:00
jsteemann
c8bdacbc95
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-03-28 08:47:14 +02:00
jsteemann
8e113b76d8
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-03-28 08:47:09 +02:00
jsteemann
7bd6bd6e45
slightly adjusted index creation
2017-03-28 08:46:01 +02:00
Dan Larkin
80c91341e8
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-03-27 21:08:27 -04:00
Dan Larkin
61037c3078
Added some documentation to key/value/comparator classes.
2017-03-27 21:07:52 -04:00
Simon Grätzer
fc3a950d08
Fixed compiler errors
2017-03-28 01:18:57 +02:00
Simon Grätzer
88b8e12cb6
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-03-28 01:16:00 +02:00
Simon Grätzer
8543cb77e3
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
...
# Conflicts:
# arangod/RocksDBEngine/RocksDBCommon.cpp
# arangod/RocksDBEngine/RocksDBCommon.h
2017-03-28 01:15:50 +02:00
Dan Larkin
3a307521cd
Updated comparator.
2017-03-27 19:00:21 -04:00
Simon Grätzer
1a50029592
Edge Index work
2017-03-28 00:55:59 +02:00
Dan Larkin
9590d911ea
Removed some alignas directives.
2017-03-27 17:32:44 -04:00
Dan Larkin
cbafcadccd
Finished conversion of RocksDBEntry to RocksDBKey and RocksDBValue.
2017-03-27 16:51:30 -04:00
Simon Grätzer
41e043cf40
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
...
# Conflicts:
# arangod/CMakeLists.txt
# arangod/RocksDBEngine/RocksDBIndexFactory.cpp
2017-03-27 18:30:38 +02:00
Simon Grätzer
a2157595e8
RocksDB: starting edge index
2017-03-27 18:22:24 +02:00
Dan Larkin
5c36a617c4
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-03-27 11:35:15 -04:00
Dan Larkin
a7a3c82bb3
Initial conversion of RocksDBEntry to RocksDBKey.
2017-03-27 11:34:55 -04:00
jsteemann
458e3a3608
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-03-27 16:36:53 +02:00
jsteemann
3a2462532d
move engine-specific includes out of standard file
2017-03-27 16:36:34 +02:00
Michael Hackstein
53742d8790
Removed dead code
2017-03-27 14:40:56 +02:00
jsteemann
3bdd833e67
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-03-27 14:39:04 +02:00
Michael Hackstein
2facc4b2b7
Removed unused log-output
2017-03-27 14:31:10 +02:00
Michael Hackstein
544007a5c8
Squashed commit of the following:
...
commit 873bc5950028248bf209d0c53fc9eb93938e3610
Merge: 8e4457a 3487097
Author: Michael Hackstein <michael@arangodb.com>
Date: Mon Mar 27 14:00:27 2017 +0200
Merge branch 'devel' of github.com:arangodb/arangodb into devel-feature/traversal-cache
commit 8e4457a96754bea3437e8d44c0ef9db2366ee86d
Author: Michael Hackstein <michael@arangodb.com>
Date: Mon Mar 27 13:59:44 2017 +0200
Removed old VPackSlice based getVertex API in traversers.
commit 2e0716eeeec1ec56b96571a18074539f5e27cb40
Author: Michael Hackstein <michael@arangodb.com>
Date: Fri Mar 24 09:09:02 2017 +0100
Fixed logic error in SingleServerEdgeCursor readAll. The cursorId was not propageted properly, which cased filter-evaluations to fail
commit cea85c2ac1163ed0a989c492b8039ed4f7622325
Merge: 538f216 45a4fac
Author: Michael Hackstein <michael@arangodb.com>
Date: Fri Mar 24 08:17:31 2017 +0100
Merge branch 'devel' of github.com:arangodb/arangodb into devel-feature/traversal-cache
commit 538f216cbefcdfb4d06fe16a42f223cecae8598b
Merge: 5f4afee 8bfcb49
Author: Simon Grätzer <simon@graetzer.org>
Date: Thu Mar 23 16:33:44 2017 +0100
Merge branch 'devel-feature/traversal-cache' of https://github.com/arangodb/arangodb into devel-feature/traversal-cache
commit 5f4afee54094ea6d2a0cfec1abfb75451f228a23
Author: Simon Grätzer <simon@graetzer.org>
Date: Thu Mar 23 16:33:38 2017 +0100
VertexGetter StringRef methods
commit 8bfcb490d7a907ebd7dcc9e6f38a8d29baa7c7e5
Author: Michael Hackstein <michael@arangodb.com>
Date: Thu Mar 23 16:32:38 2017 +0100
Fixed AqlValues created by traverser-cache. They are now not using externals anymore which cased everything to crash
commit 614cdedb7e30e35f65f289b310c38b2585eb03e4
Merge: 773b0a5 416777b
Author: Michael Hackstein <michael@arangodb.com>
Date: Thu Mar 23 12:52:19 2017 +0100
Merge branch 'devel-feature/traversal-cache' of github.com:arangodb/arangodb into devel-feature/traversal-cache
This state is still red
commit 773b0a5e51f87875fa9bf1440dd002b2e1fcfd2a
Author: Michael Hackstein <michael@arangodb.com>
Date: Thu Mar 23 12:48:53 2017 +0100
Added Implementation or readAll in Cluster EdgeCursor. This commit is still red.
commit 82ebbd6ec84918d43bbc64174bc251efa548a4de
Merge: e52b210 35dffc4
Author: Michael Hackstein <michael@arangodb.com>
Date: Thu Mar 23 11:37:31 2017 +0100
Merge branch 'devel-feature/traversal-cache' of github.com:arangodb/arangodb into devel-feature/traversal-cache
This commit is not green.
commit 416777b60a8a0c741d11e9c654745866d0dfa15d
Author: Simon Grätzer <simon@graetzer.org>
Date: Thu Mar 23 11:25:35 2017 +0100
Fixed errornous ClusterEdgeCursor implementation of `readAll
commit e52b21025a5f56e2cfc03e3c129da83793f19846
Author: Michael Hackstein <michael@arangodb.com>
Date: Thu Mar 23 11:01:17 2017 +0100
Fixed API for Traversals: All functions now use StringRefs to identify vertices and edges which are presisted within the traverser-cache.
commit 35dffc439c156366b1110c6770c1565021934632
Author: Simon Grätzer <simon@graetzer.org>
Date: Wed Mar 22 20:26:41 2017 +0100
Fixed a few cluster issues
commit 73cf4fe41c363f6c034a1daeacee1630d7e827a5
Author: Simon Grätzer <simon@graetzer.org>
Date: Wed Mar 22 17:26:12 2017 +0100
Fixed EdgeCursor bug
commit 2f7329b4e9711740b423cf2963c6cf3f880c4bdf
Merge: bb9b129 8e5edf5
Author: Michael Hackstein <michael@arangodb.com>
Date: Wed Mar 22 14:32:07 2017 +0100
Merge branch 'devel-feature/traversal-cache' of github.com:arangodb/arangodb into devel-feature/traversal-cache
commit 8e5edf5fbe93f34d3340099619baa9a56a738887
Author: Simon Grätzer <simon@graetzer.org>
Date: Wed Mar 22 14:09:43 2017 +0100
Fixing compile errors
commit bb9b1294c9ff91f62bc27775a4c7a69c5daca2fd
Merge: 048a4c6 8e51e3b
Author: Michael Hackstein <michael@arangodb.com>
Date: Wed Mar 22 11:39:17 2017 +0100
Merge branch 'devel' of github.com:arangodb/arangodb into devel-feature/traversal-cache
commit 048a4c65e11d6fd9cb25a58ee97ed756a419a067
Merge: 693607e c6b177d
Author: Michael Hackstein <michael@arangodb.com>
Date: Wed Mar 22 11:34:57 2017 +0100
Solved merge conflicts. Build is still red.
commit c6b177dfc348df0f49f07cd67e83b873871fe6c5
Author: Simon Grätzer <simon@graetzer.org>
Date: Tue Mar 21 23:04:28 2017 +0100
Fixed off by one error, and crash
commit 5dbc9eb58f1d21e5a530806d7ad7e52058234b83
Merge: 463e352 db8c255
Author: Simon Grätzer <simon@graetzer.org>
Date: Tue Mar 21 17:46:01 2017 +0100
Merge branch 'devel-feature/traversal-cache' of https://github.com/arangodb/arangodb into devel-feature/traversal-cache
# Conflicts:
# arangod/Graph/BreadthFirstEnumerator.cpp
commit 463e3520636c19ae7a7c1d445099f336c5bde31e
Merge: 4e75f29 b8cabbe
Author: Simon Grätzer <simon@graetzer.org>
Date: Tue Mar 21 17:00:17 2017 +0100
Merge branch 'devel-feature/traversal-cache' of https://github.com/arangodb/arangodb into devel-feature/traversal-cache
# Conflicts:
# arangod/Graph/BreadthFirstEnumerator.cpp
commit 693607ea92ab3116a628c08c59a983a6fdf8b5f4
Author: Michael Hackstein <michael@arangodb.com>
Date: Tue Mar 21 16:26:57 2017 +0100
Moved specialized NeighborsEnumerator into its own files.
commit db8c25587ebcdeff8b32d08cf2d97d723bf2b3fe
Author: Michael Hackstein <michael@arangodb.com>
Date: Tue Mar 21 15:16:39 2017 +0100
Replaced SingleServerBreadthFirst with using Callbacks in readAll method of EdgeCursor
commit 4e75f29de95edeea35573b128a0a13e04c9e65d2
Merge: 8716936 6de86c5
Author: Simon Grätzer <simon@graetzer.org>
Date: Tue Mar 21 14:32:12 2017 +0100
Merge branch 'devel-feature/traversal-cache' of https://github.com/arangodb/arangodb into devel-feature/traversal-cache
commit b8cabbedebb16c09c8168ec8b5a4499e98c705f4
Author: Michael Hackstein <michael@arangodb.com>
Date: Tue Mar 21 11:17:23 2017 +0100
Removed _enumertedPath from BreadthFirstEnumerator. Less string copying expected now.
commit 8716936bd480f4b7c85ece6fc1a51335f1942258
Author: Simon Grätzer <simon@graetzer.org>
Date: Tue Mar 21 11:05:04 2017 +0100
Traverser: changed method definitions
commit 14af02fbc08b7e2ed6b0cbb918ff509ffaef76bf
Author: Michael Hackstein <michael@arangodb.com>
Date: Tue Mar 21 10:45:13 2017 +0100
Removed usage of _enumeratedPath in lastEdge/Vertex to AQL. Goal is to delete this struct in the class, as it does unneccessary copies
commit 06a20ab0549d97b47eda98d3428e3390619ca5ec
Author: Simon Grätzer <simon@graetzer.org>
Date: Tue Mar 21 10:39:21 2017 +0100
Intermediate changes
commit 3a9a5f7c7ad186c669c3986f6f89c5a26b835ee0
Author: Michael Hackstein <michael@arangodb.com>
Date: Tue Mar 21 10:34:43 2017 +0100
Logic of BreadthFirstEnumerator now points to the last path returned instead of the next path to return. This will allow to get rid of enumeratedPath in there.
commit 6de86c548220a3ad21c53fb1de691070774130ec
Author: Michael Hackstein <michael@arangodb.com>
Date: Tue Mar 21 10:17:25 2017 +0100
Extracted BreadthFirstEnumerator out of PathEnumerator files. Only moving of code.
commit acd1d9eba5d7ea23e0d6beab831a42dc61a385a5
Merge: a99ad3c 1ab8c44
Author: Michael Hackstein <michael@arangodb.com>
Date: Mon Mar 20 13:13:16 2017 +0100
Merge branch 'devel' of github.com:arangodb/arangodb into devel-feature/traversal-cache
commit a99ad3c624d7ae4815776f165d65f19e43167e56
Author: Simon Grätzer <simon@graetzer.org>
Date: Fri Mar 17 13:25:45 2017 +0100
Added TraverserCache to SingleServerTraverser
commit e88ae1e53d99b55546329413e7b4a5edc48c4875
Author: Michael Hackstein <michael@arangodb.com>
Date: Wed Mar 15 13:36:05 2017 +0100
Fixed compiler Issues in TraverserCache
commit 9d89cdc0297813f24064b46a67a43cde9a3d0297
Merge: 9d41804 f18ad19
Author: Michael Hackstein <michael@arangodb.com>
Date: Wed Mar 15 09:43:06 2017 +0100
Merge branch 'devel' of github.com:arangodb/arangodb into devel-feature/traversal-cache
commit 9d4180480c7bc37f1f64b6e3141dae611f8d399c
Author: Michael Hackstein <michael@arangodb.com>
Date: Wed Mar 15 09:42:53 2017 +0100
Started implementing a Traverser Cache Abstraction that is used to store already fetched documents.
2017-03-27 14:30:06 +02:00
jsteemann
922a8af392
turn off all MMFiles features in case RocksDB engine is selected
2017-03-27 14:22:00 +02:00
jsteemann
cdf1c1d894
primary index
2017-03-27 12:37:23 +02:00
jsteemann
b03f823db0
added lookupKey
2017-03-27 12:00:36 +02:00
Jan Christoph Uhde
87e1a0f7c2
try to build insert / remove for index
2017-03-27 11:53:13 +02:00
Jan Christoph Uhde
91b868a01d
add some code for creating the fake rocksdb index
2017-03-27 11:32:26 +02:00
jsteemann
0d38d2c287
finalize insert()
2017-03-27 11:30:30 +02:00
jsteemann
9276d82578
remove debug log messages
2017-03-27 11:20:43 +02:00
jsteemann
dab48de61b
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-03-27 11:16:05 +02:00
jsteemann
00499c6a7a
stub for collection::insert()
2017-03-27 11:15:42 +02:00
jsteemann
7a764b95a9
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-03-27 11:02:02 +02:00
jsteemann
78d586e670
fix typo
2017-03-27 11:01:56 +02:00
Frank Celler
3487097180
added ulimit example
2017-03-27 11:01:17 +02:00
jsteemann
6ca2b237d1
add method to augment index creation data
2017-03-27 11:01:09 +02:00
Jan Christoph Uhde
d4c2bba930
create mock primary mock index for rocksdb
2017-03-27 09:26:17 +02:00
Jan Christoph Uhde
f4e164ef78
fix compile errors
2017-03-27 08:57:51 +02:00
Simon Grätzer
0b79c69884
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-03-27 08:56:20 +02:00
baslr
c7487d44f4
Merge remote-tracking branch 'origin/devel' into feature/ldap-auth
2017-03-24 19:45:53 +01:00
Dan Larkin
305e00fdf3
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2017-03-24 13:39:13 -04:00
Dan Larkin
c2f370f99b
Fixed an alignment bug in cache.
2017-03-24 13:39:05 -04:00
Michael Hackstein
3925f946c5
Revert "Squashed commit. Moved over SmartSearch Shortest Path feature"
...
This reverts commit f7eb96bc8d
.
2017-03-24 18:23:20 +01:00
Dan Larkin
1d22d25c3f
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-03-24 13:19:43 -04:00
Dan Larkin
fcb3c2f91e
Added method to convert RocksDB Status to ArangoDB Result.
2017-03-24 13:19:34 -04:00
Simon Grätzer
aadcad3a00
Fix various conversion warnings
2017-03-24 17:52:50 +01:00
jsteemann
2c54a6ac1e
added some basic transaction handling
2017-03-24 17:23:32 +01:00
Simon Grätzer
7007db2f44
Windows: Fix ShortestPathNode
2017-03-24 17:23:31 +01:00
Simon Grätzer
95f4265d25
Windows fix
2017-03-24 17:15:36 +01:00
Michael Hackstein
f63483d78d
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2017-03-24 15:32:08 +01:00
Michael Hackstein
f7eb96bc8d
Squashed commit. Moved over SmartSearch Shortest Path feature
2017-03-24 15:31:39 +01:00
jsteemann
757794029f
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-03-24 15:25:19 +01:00
Simon Grätzer
ab733838a2
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-03-24 15:14:19 +01:00
Simon Grätzer
2091dae875
Pregel: Fix concurrent creation of aggregator
2017-03-24 15:14:12 +01:00
Frank Celler
1185099501
raise limit fd as much as possible, warn if too small
2017-03-24 15:13:55 +01:00
jsteemann
2aa2fd65a4
more startup
2017-03-24 14:20:51 +01:00
jsteemann
a34a10f719
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-03-24 12:27:09 +01:00
jsteemann
328346719a
increase max wait time
2017-03-24 12:09:50 +01:00
baslr
fef40e3c9d
merge with devel
2017-03-24 12:07:29 +01:00
Simon Grätzer
fbbc118160
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-03-24 11:04:38 +01:00
Simon Grätzer
39b2e349dd
Pregel: Coverty Scan fixes
2017-03-24 11:04:15 +01:00
Frank Celler
46b04f1317
added message id to debug output
2017-03-24 09:57:07 +01:00
jsteemann
dd86a50ca5
fix misleading init messages
2017-03-24 09:49:57 +01:00
baslr
494a898d04
user database permissions from ldap
2017-03-23 23:52:37 +01:00
jsteemann
2eeccd5f09
small simplifications for error handling
2017-03-23 21:18:53 +01:00
jsteemann
02c0dcc689
properly report error locations
2017-03-23 20:18:33 +01:00
jsteemann
b87cc95038
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-03-23 19:42:10 +01:00
jsteemann
8e4e463239
don't call throwing functions in dtor
2017-03-23 19:40:13 +01:00
jsteemann
f1e6af1ce1
eliminate unnecessary check
2017-03-23 18:18:02 +01:00
jsteemann
30b4b2b402
prevent unlikely division by zero
2017-03-23 18:17:47 +01:00
baslr
25de0596c7
Merge remote-tracking branch 'origin/devel' into feature/ldap-auth
2017-03-23 17:48:16 +01:00
Dan Larkin
eaca014406
Fixed deadlock in cache shutdown.
2017-03-23 12:11:50 -04:00
Simon Grätzer
b69523d736
Pregel: Fixed memory leak warning
2017-03-23 16:14:06 +01:00
Simon Grätzer
6b5a6b4c2b
Pregel: Fixed memory leak warning
2017-03-23 15:54:18 +01:00
jsteemann
8458597c13
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-03-23 15:24:14 +01:00
jsteemann
f17ff29518
added stubs for indexes
2017-03-23 15:24:00 +01:00
jsteemann
2405ebee25
added diagnostic output
2017-03-23 14:16:26 +01:00
jsteemann
45da5ffe9c
more diagnostic output for "not implemented"
2017-03-23 14:10:00 +01:00
Max Neunhoeffer
0dc4274b6a
Increase timeout in AQL query instantiation from 30s to 90s.
2017-03-23 13:37:15 +01:00
baslr
71b22e642f
Merge remote-tracking branch 'origin/devel' into feature/ldap-auth
2017-03-23 13:36:12 +01:00
jsteemann
0ef305c1be
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-03-23 13:04:18 +01:00
Max Neunhoeffer
29338899fd
Finally port TraverserEngine locking bug fix manually.
2017-03-23 12:44:51 +01:00
jsteemann
4086c65e45
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-03-23 12:36:58 +01:00
jsteemann
90d81af098
fix compile error
2017-03-23 12:33:47 +01:00
Max Neunhoeffer
b07f302ce5
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2017-03-23 12:33:31 +01:00
Max Neunhoeffer
32953a4a97
Revert "Fix locking of shards in TraverserEngines."
...
This reverts commit 467088b8af
.
2017-03-23 12:33:11 +01:00
jsteemann
e5543f5ea2
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-03-23 12:25:50 +01:00
Max Neunhoeffer
467088b8af
Fix locking of shards in TraverserEngines.
2017-03-23 12:23:40 +01:00
jsteemann
e37ac1c4f8
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-03-23 12:18:36 +01:00
jsteemann
ed40426f09
increase default timeout from 30 to 900 seconds
2017-03-23 12:18:24 +01:00
Max Neunhoeffer
66a8ea1538
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2017-03-23 12:15:40 +01:00
jsteemann
6bb9863108
fixed issue #2392
2017-03-23 12:10:11 +01:00
Max Neunhoeffer
64a18f78e0
Fix SortedCollectBlock skipping issue. Resolves #1482 .
2017-03-23 12:08:54 +01:00
jsteemann
55c38befbf
enum databases, views and collections at startup
2017-03-23 11:52:22 +01:00
Max Neunhoeffer
09cc428e00
Increase standard intra cluster timeout from 90 to 120s.
2017-03-23 10:09:12 +01:00
jsteemann
806c33eb1c
cleanup
2017-03-23 09:01:21 +01:00
jsteemann
564598cb51
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-03-23 08:40:15 +01:00
Jan Christoph Uhde
59eafed99d
Add code that checks during startup if _system database exists
2017-03-22 18:28:35 +01:00
Jan Christoph Uhde
1cb1d37d01
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-03-22 17:59:10 +01:00
Jan Christoph Uhde
7c7268b269
Try to load existing databases
2017-03-22 17:58:38 +01:00
Simon Grätzer
bac7081983
Pregel: Reduced logspam
2017-03-22 17:55:43 +01:00
jsteemann
2824472ddc
removed obsolete APIs
2017-03-22 14:54:16 +01:00
Jan Christoph Uhde
ea405c8ddb
resolve conflicts after merge
2017-03-22 14:50:50 +01:00
jsteemann
a94acc5504
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-03-22 14:48:34 +01:00
jsteemann
324e89957f
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-03-22 14:48:29 +01:00
Jan Christoph Uhde
85e438ee00
Merge remote-tracking branch 'origin/devel' into engine-api
2017-03-22 14:47:42 +01:00
jsteemann
e270ddb262
fixed failing test
2017-03-22 14:46:10 +01:00
Jan Christoph Uhde
0deac5fe62
Add functon to create slices from RocksDBEntryTypes
2017-03-22 14:45:54 +01:00
jsteemann
f341d416da
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-03-22 14:21:43 +01:00
jsteemann
3db380dc6d
do not throw in destructor
2017-03-22 14:20:01 +01:00
jsteemann
d9d9eaac60
fixed two cluster tests
2017-03-22 14:03:27 +01:00
Jan Christoph Uhde
d93d154053
Move RocksDBEntryType to separate file
2017-03-22 13:38:03 +01:00
Jan Christoph Uhde
66423f97dc
delete on shutdown
2017-03-22 13:07:27 +01:00
jsteemann
71bf18dd12
renaming
2017-03-22 13:01:40 +01:00
Jan Christoph Uhde
e7202945dc
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-03-22 12:26:10 +01:00
Jan Christoph Uhde
d34f75548f
enable engine selection
2017-03-22 12:14:39 +01:00
jsteemann
8e51e3ba50
fix slow queries
2017-03-22 11:20:07 +01:00
jsteemann
fbb14ceffc
added db._engine()
2017-03-22 11:19:31 +01:00
baslr
9582d6823a
Merge remote-tracking branch 'origin/devel' into feature/ldap-auth
2017-03-22 10:50:38 +01:00
jsteemann
358e18d5af
fix wrong assertions
2017-03-22 09:45:02 +01:00
Frank Celler
a25932293b
added assert and only compact if no request is in flight
2017-03-22 08:52:37 +01:00
jsteemann
7659519606
finalize class
2017-03-22 08:36:41 +01:00
jsteemann
9960843fef
fix logic error
2017-03-22 08:36:33 +01:00
jsteemann
058e6002d3
try to fix shutdown races
2017-03-22 08:31:49 +01:00
Dan Larkin
3eda7ce79f
Added RocksDBComparator.
2017-03-21 19:07:19 -04:00
baslr
8fa6f9c5e7
Merge remote-tracking branch 'origin/devel' into feature/ldap-auth
2017-03-21 23:27:26 +01:00
Dan Larkin
1e2b0552fb
Added RocksDBEntry helper class to manage key/value conversions and access.
2017-03-21 18:06:36 -04:00
Frank Celler
e997b791a8
fixed lost HTTP requests
2017-03-21 22:51:49 +01:00
Dan Larkin
6cedc0ba53
Merge branch 'views' into devel
2017-03-21 11:40:42 -04:00
Dan Larkin
85132e0eaf
Finished adding view support to ArangoShell.
2017-03-21 11:40:14 -04:00
Jan Christoph Uhde
58c1f3f70f
Work on RocksDBEngine and enable engine selection
2017-03-21 16:02:40 +01:00
Jan Christoph Uhde
d7ba5e8c0f
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-03-21 15:29:43 +01:00
Jan Christoph Uhde
f21f88c0d4
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
...
* 'devel' of https://github.com/arangodb/arangodb :
Pregel: fixed catch test
unify case in error messages
move collection keys into engine
2017-03-21 15:28:31 +01:00
Jan Christoph Uhde
cb3dd9683f
fix logtopic
2017-03-21 15:27:52 +01:00
jsteemann
d43a4073ad
unify case in error messages
2017-03-21 14:24:47 +01:00
jsteemann
63868b4378
move collection keys into engine
2017-03-21 14:23:29 +01:00
Jan Christoph Uhde
5a60a52db9
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
...
* 'devel' of https://github.com/arangodb/arangodb :
move replication-dump into engine
try to fix shutdown races
changelog
ui - fixed some event issues
moved export into engine
move attributes into engine
2017-03-21 14:10:43 +01:00
Jan Christoph Uhde
1c9ad06aa6
Avoid name resolution if given host is a valid address
2017-03-21 14:07:01 +01:00
jsteemann
7fb536387d
move replication-dump into engine
2017-03-21 13:55:57 +01:00
jsteemann
93423ba273
try to fix shutdown races
2017-03-21 12:59:46 +01:00
jsteemann
ec0e5e39a7
moved export into engine
2017-03-21 11:41:50 +01:00
Jan Christoph Uhde
68bb668f1b
add more empty implementations for RocksDB Storage engine
2017-03-21 10:53:13 +01:00
jsteemann
b8e011eee5
move attributes into engine
2017-03-21 10:31:50 +01:00
baslr
c0fa6366f5
Merge remote-tracking branch 'origin/devel' into feature/ldap-auth
2017-03-21 02:17:46 +01:00
Jan Christoph Uhde
db8202fd50
Add empty RocksDBTransactionState implemenation
2017-03-20 16:48:39 +01:00
Jan Christoph Uhde
3ef89f118a
Add empty RocksDBView
2017-03-20 16:22:30 +01:00
Jan Christoph Uhde
29e10ad551
Add RocksDBIndexFactory
2017-03-20 16:03:59 +01:00
Jan Christoph Uhde
3c73363507
Add empty implementation for RocksDBCollection
2017-03-20 15:19:59 +01:00
jsteemann
6ba59eda5b
index API change
2017-03-20 14:40:54 +01:00
Jan Christoph Uhde
2795eedabd
add empty implementation of RocksDBEngine
2017-03-20 14:24:42 +01:00
Jan Christoph Uhde
42e9294dc0
clang format
2017-03-20 13:11:45 +01:00
Simon Grätzer
1ab8c44330
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-03-20 12:41:32 +01:00
baslr
77d693d065
Merge remote-tracking branch 'origin/devel' into feature/ldap-auth
2017-03-20 12:39:40 +01:00
jsteemann
c51f27c201
make waiting for free V8 contexts abort after 90 seconds
2017-03-20 12:38:04 +01:00
Simon Grätzer
7bc01b46e0
Pregel: Changed scheduler post call
2017-03-20 12:22:16 +01:00
Jan Christoph Uhde
5bf592eca8
Add header files and empty cpp files for RocksDBEngine
2017-03-20 12:00:02 +01:00
jsteemann
29905e0e8b
constify and lower default lock timeout for collections
2017-03-20 11:37:39 +01:00
jsteemann
2ea436b3e9
a bit more debug messages
2017-03-20 11:33:27 +01:00
jsteemann
9349005191
wait longer before scheduler shutdown
2017-03-20 11:05:24 +01:00
baslr
90341c5efb
Merge remote-tracking branch 'origin/devel' into feature/ldap-auth
2017-03-18 04:14:39 +01:00
baslr
bc14d53ff5
ldap authwork
2017-03-18 04:14:15 +01:00