1
0
Fork 0
Commit Graph

1435 Commits

Author SHA1 Message Date
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
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
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
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 d6b7df6ba1 Edge index fixes 2017-03-28 10:13:07 +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 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 3a2462532d move engine-specific includes out of standard file 2017-03-27 16:36:34 +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 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 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
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
jsteemann 2c54a6ac1e added some basic transaction handling 2017-03-24 17:23:32 +01:00
jsteemann 2aa2fd65a4 more startup 2017-03-24 14:20:51 +01:00
jsteemann 02c0dcc689 properly report error locations 2017-03-23 20:18:33 +01:00
jsteemann f17ff29518 added stubs for indexes 2017-03-23 15:24:00 +01:00
jsteemann 45da5ffe9c more diagnostic output for "not implemented" 2017-03-23 14:10:00 +01:00
jsteemann 55c38befbf enum databases, views and collections at startup 2017-03-23 11:52:22 +01:00
jsteemann 806c33eb1c cleanup 2017-03-23 09:01:21 +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
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 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 0deac5fe62 Add functon to create slices from RocksDBEntryTypes 2017-03-22 14:45:54 +01:00
jsteemann 3db380dc6d do not throw in destructor 2017-03-22 14:20:01 +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
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
Dan Larkin 3eda7ce79f Added RocksDBComparator. 2017-03-21 19:07:19 -04:00
Dan Larkin 1e2b0552fb Added RocksDBEntry helper class to manage key/value conversions and access. 2017-03-21 18:06:36 -04:00
Jan Christoph Uhde 58c1f3f70f Work on RocksDBEngine and enable engine selection 2017-03-21 16:02:40 +01:00
Jan Christoph Uhde 68bb668f1b add more empty implementations for RocksDB Storage engine 2017-03-21 10:53:13 +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
Jan Christoph Uhde 2795eedabd add empty implementation of RocksDBEngine 2017-03-20 14:24:42 +01:00