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
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
jsteemann
704c746c0d
fix toArray()
2017-03-30 17:02:54 +02:00
Simon Grätzer
9754d38df3
Added hash-, skip list, persistent indexes
2017-03-30 16:00:27 +02:00
Simon Grätzer
1d3149c31b
Edge index compliant with design doc
2017-03-30 15:11:03 +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
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
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
Dan Larkin
73154490fa
Added shell of RocksDBVPackIndex.
2017-03-29 17:35:41 -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
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
Simon Grätzer
cd9e9a13cf
Path based enumerator
2017-03-29 17:33:02 +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
d75a72eff2
honor feature optionality
2017-03-29 12:53:05 +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
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
38ac3c23c8
fixed serialization bug
2017-03-29 09:17:23 +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
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
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
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