jsteemann
e5a9bf27e4
fix compile warning
2017-04-19 12:31:13 +02:00
Jan Christoph Uhde
507b870ff1
add RocksDBOptionFeature to unify configuration of RocksDB
...
instances for storage-engine and persistent-index that are used mutual
exclusive.
2017-04-19 12:20:41 +02:00
jsteemann
35d951877d
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-04-18 22:01:40 +02:00
jsteemann
24b00a0744
unify test for engines
2017-04-18 22:01:24 +02:00
Dan Larkin
af8e1889a1
Moved MMFiles replication handler.
2017-04-18 15:35:45 -04:00
jsteemann
2cf48d1709
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-04-18 11:33:16 +02:00
jsteemann
20202b532e
issue #2427 : change while into an if
2017-04-18 09:47:06 +02:00
Dan Larkin
841ef8b1a0
Changed index VPack building to include forPersistence flag.
2017-04-17 17:04:50 -04: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
1ad5fde19e
change mmfiles indexes to work with slightly changed API
2017-04-13 08:38:13 +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
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
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
f33d14f0d1
issue #2413 : improve logging in case of lock timeout and deadlocks
2017-04-07 12:30:11 +02:00
jsteemann
f59c78b587
add engine capabilities
2017-04-06 14:50:27 +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
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
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
5822e77843
invokeOnAllElements
2017-04-05 13:38:43 +02:00
jsteemann
78302d1766
make versionFilename() a property of the engine
2017-04-04 17:23:02 +02:00
jsteemann
7fc2d97ae1
fix dropping of indexes
2017-04-04 16:41:05 +02:00
jsteemann
ef3322b81f
make SORT RAND() removal a feature of the old engine
2017-04-04 08:55:08 +02:00
Jan Christoph Uhde
234180c08b
wip - drop database
2017-04-03 16:52:21 +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
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
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
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
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
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
d563eb432f
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-03-30 15:50:53 +02:00
jsteemann
b0f6458e28
another fix for #2404
2017-03-30 15:07:55 +02:00
Jan Christoph Uhde
b83ae2ab82
refactor some code to make use of arangodb::Result
2017-03-30 09:39:21 +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
cd9e9a13cf
Path based enumerator
2017-03-29 17:33:02 +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
Simon Grätzer
901abc6705
Fixing some windows conversion warnings
2017-03-29 11:35:37 +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
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
jsteemann
d4752433f0
slightly simplify logging
2017-03-29 01:16:55 +02:00
jsteemann
e1aef394d8
delete useless DEV_TIMERS, fix rwlockcpp11
2017-03-28 22:38:27 +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
jsteemann
cedee8ed02
fix recovery test
2017-03-28 10:46:56 +02:00
jsteemann
17c1a6db05
fix recovery test
2017-03-28 10:04:39 +02:00
jsteemann
7bd6bd6e45
slightly adjusted index creation
2017-03-28 08:46:01 +02: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
922a8af392
turn off all MMFiles features in case RocksDB engine is selected
2017-03-27 14:22:00 +02:00
jsteemann
b03f823db0
added lookupKey
2017-03-27 12:00:36 +02:00
jsteemann
78d586e670
fix typo
2017-03-27 11:01:56 +02: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
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
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
jsteemann
e270ddb262
fixed failing test
2017-03-22 14:46:10 +01:00
jsteemann
d9d9eaac60
fixed two cluster tests
2017-03-22 14:03:27 +01:00
jsteemann
71bf18dd12
renaming
2017-03-22 13:01:40 +01:00
jsteemann
63868b4378
move collection keys into engine
2017-03-21 14:23:29 +01:00
jsteemann
7fb536387d
move replication-dump into engine
2017-03-21 13:55:57 +01:00
jsteemann
ec0e5e39a7
moved export into engine
2017-03-21 11:41:50 +01:00
jsteemann
b8e011eee5
move attributes into engine
2017-03-21 10:31:50 +01:00
jsteemann
6ba59eda5b
index API change
2017-03-20 14:40:54 +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
5d6dcb3bf1
re-added constructionguard
2017-03-17 15:44:22 +01:00
jsteemann
e3d8ae142e
some fixes for view handling
2017-03-17 11:18:46 +01:00
Dan Larkin
508aabeafe
Updated schema, added LoggerView, and added support for implementation properties.
2017-03-16 19:45:48 -04:00
jsteemann
fd07af5216
renamed index type
2017-03-16 17:00:19 +01:00
jsteemann
e22586f40c
Merge branch 'devel' of https://github.com/arangodb/arangodb into views
2017-03-16 16:45:31 +01:00
jsteemann
1932fd1975
moved files
2017-03-16 16:45:02 +01:00
jsteemann
2c0f9d9369
Merge branch 'devel' of https://github.com/arangodb/arangodb into views
2017-03-16 15:47:48 +01:00
Max Neunhoeffer
bbcc20378a
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2017-03-16 13:54:02 +01:00
Max Neunhoeffer
428b6aa67f
Port thread fixes from 3.1 to devel.
2017-03-16 13:53:40 +01:00
jsteemann
25a380f77c
Merge branch 'devel' of https://github.com/arangodb/arangodb into views
2017-03-16 12:50:11 +01:00
jsteemann
0bb2711abb
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into views
2017-03-16 12:16:23 +01:00
jsteemann
6b7b4d1593
defer access to PersistentIndexFeature until later
2017-03-16 10:34:54 +01:00
jsteemann
7e7fe8bc21
discover views on startup
2017-03-15 14:48:10 +01:00
jsteemann
9a88c8c226
fix a memleak
2017-03-15 14:05:13 +01:00
jsteemann
49aef67cca
use std::shared_ptrs for views
2017-03-15 13:07:08 +01:00
Michael Hackstein
ce4e394305
Merge branch 'devel' of github.com:arangodb/arangodb into engine-api
2017-03-15 12:35:53 +01:00
jsteemann
df3d33774e
fix revision conflict handling
2017-03-15 12:33:16 +01:00
jsteemann
1a06f1e15e
initial functionality for views - unstable
2017-03-14 16:35:45 +01:00