1
0
Fork 0
Commit Graph

431 Commits

Author SHA1 Message Date
Simon Grätzer 83d4be462a Adding failure points 2017-04-18 18:10:49 +02:00
Simon Grätzer 2c4d77668f Fixing array indexes 2017-04-18 18:06:40 +02:00
jsteemann dc5fb20b81 Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api 2017-04-18 17:28:04 +02:00
jsteemann 69576ca79e preparations for locks 2017-04-18 17:27:37 +02:00
Jan Christoph Uhde 02de7ea6d4 Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
* 'engine-api' of https://github.com/arangodb/arangodb:
  Starting AQL tests
  fixed typos
  fixed assertion failure
  call shutdown in the dtor
  added RW lock
2017-04-18 17:00:07 +02:00
Jan Christoph Uhde c12bd6f2ed remove code that tracks size of index operations
in RocksDBTransactions
2017-04-18 16:58:44 +02:00
jsteemann 2f574a75be remove debug output 2017-04-18 15:06:22 +02:00
jsteemann d3f32799c6 fixed assertion failure 2017-04-18 14:54:29 +02:00
jsteemann 49fbec6ac3 call shutdown in the dtor 2017-04-18 14:49:57 +02:00
jsteemann e15feada03 added RW lock 2017-04-18 13:54:35 +02:00
Jan Christoph Uhde 4336d31e7b createIndex of RocksDBEngine must not throw! 2017-04-18 13:32:57 +02:00
Jan Christoph Uhde 9e366d2193 Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
* 'engine-api' of https://github.com/arangodb/arangodb:
  slightly adjust error messages
  Fixing jslint errors
  Add changelog from 3.1
  Properly generate an error message during import
  Fixed scannedIndex values in traverser tests. It did not report the correct number of lookups required after modification for new Storage-Engine
  fixed issue #2429
  issue #2427: change while into an if
  don't fail when non-array, but simply ignore it
2017-04-18 13:21:54 +02:00
Jan Christoph Uhde a02e816598 add reset function to RocksDBTransactionState 2017-04-18 13:14:15 +02:00
jsteemann 031e9adb3c slightly adjust error messages 2017-04-18 12:43:21 +02:00
Dan Larkin 97d525e9b7 Revert "Fixed primary index cluster bug."
This reverts commit 8c4214625c.
2017-04-17 17:06:23 -04:00
Dan Larkin 841ef8b1a0 Changed index VPack building to include forPersistence flag. 2017-04-17 17:04:50 -04:00
Dan Larkin 8c4214625c Fixed primary index cluster bug. 2017-04-13 21:44:51 -04:00
Dan Larkin 2e0fdbf666 Fixed some bugs. 2017-04-13 20:06:25 -04:00
Simon Grätzer e0e00b0b6b Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
# Conflicts:
#	arangod/RocksDBEngine/RocksDBEdgeIndex.cpp
2017-04-13 17:48:52 +02:00
Simon Grätzer 866d8b7451 Fixing tests 2017-04-13 17:45:16 +02:00
Michael Hackstein 1087065ea5 Merge branch 'devel' of github.com:arangodb/arangodb into engine-api 2017-04-13 17:34:25 +02:00
Jan Christoph Uhde 864650eb8c Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
* 'engine-api' of https://github.com/arangodb/arangodb:
  Fixed cluster startup
  Upload rockst start script
2017-04-13 14:34:42 +02:00
Simon Grätzer 76b4c0b2c1 Fixed cluster startup 2017-04-13 14:32:55 +02:00
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
Simon Grätzer 3b3ee5f996 Counter fixes 2017-04-12 17:10:35 +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
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 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 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
Simon Grätzer bcea7b62b0 Fixing transaction-no-commit 2017-04-11 14:01:50 +02:00
Simon Grätzer 5ed8f67726 Fixed counter manager 2017-04-11 13:09:30 +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
Jan Christoph Uhde 60c4f27ec6 finish transaction limiting for truncate 2017-04-10 16:33:36 +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
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
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
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 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 77db254530 added fake selectivity estimate 2017-04-06 12:54:24 +02:00
Simon Grätzer fce51594ac Fixing hash index semantics 2017-04-06 12:41:47 +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 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
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
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
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 c086e31a3f fix range lookups 2017-04-05 12:32:00 +02:00
jsteemann 79fc5224cb fix count() 2017-04-05 12:31:53 +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
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 57b0aa4a3d Any iterator 2017-04-05 10:48:08 +02:00
jsteemann 9f330881a2 constify method 2017-04-05 09:00:06 +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 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
Simon Grätzer 01ea3556b8 Added REST Wal handler 2017-04-04 18:27:19 +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
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 de769b534d split ManagedDocumentResult in .h and .cpp files 2017-04-04 15:47:05 +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
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 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 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
Dan Larkin 9ec54dc23b Some bug fixes. 2017-04-03 21:01:16 -04:00
Jan Christoph Uhde 5773a028c8 add more code for dropping databases 2017-04-03 21:29:25 +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
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 947a2427ca added internal.wal.flush() 2017-04-03 17:25:24 +02:00