Jan
2bfcba3be5
fixed issue #3075 : Error when upgrading arangoDB on linux ubuntu 16.04 ( #3085 )
...
* fixed issue #3075
* update the known issues document, as some issues have already been fixed
2017-08-22 10:39:49 +02:00
Jan
6180fcfdd1
Bug fix/prevent multiple journals ( #3027 )
...
* prevent multiple journals
* fix documentation
* remove _nrDesired, as it is not used anymore
2017-08-15 23:02:08 +02:00
Jan
8e4dac4fc4
fix fulltext index removal performance, simplified code ( #3015 )
...
* simplify index API a bit
* fix fulltext index removal performance, simplified code
* updated CHANGELOG
* fix hanging test
* try to fix shutdown problem
* improve fulltext query performance
* fixed duplicate var
* removed obsolete code
* fix some shutdown races
* do not call ensureIndex that often
2017-08-12 09:25:30 +02:00
Jan
4f5d5ff54d
slightly move responsibility for recovery ( #2922 )
2017-08-01 14:25:13 +02:00
Jan Christoph Uhde
ed8efe3566
Feature/issue 387 cluster index estimates ( #2866 )
2017-08-01 09:53:58 +02:00
Frank Celler
a5a25754ed
Feature/reduce extraction to projection ( #2792 )
...
* reduce extractions to projections
* recycle string buffers in SocketTask
* micro optimizations for mmfiles indexes
* added special lookup function for _key
* moved function into the correct file
* speed up key buffer allocations a bit
* added noexcept specifier
* correctly name variable
* explicitly move bounds
* fix and speedup from/toPersistent functions
* reuse string from ManagedDocumentResult for multiple lookups
* use move-assign
* a bit less work for single server
* speedup AQL function HASH
* single fetch optimization
* performance optimization for the case when no documents need to be returned
* make reduce-extraction-to-projection a RocksDB-only optimizer rule
* cppcheck
* try to fix compile error on MacOS
* bug fix for MacOSX
* missing namespace (in Windows compile)
2017-07-14 08:40:29 +02:00
Frank Celler
40d73d5a8b
Revert "[WIP] Feature/reduce extraction to projection ( #2735 )"
...
This reverts commit 5bfcff30cd
.
2017-07-12 12:52:14 +02:00
Jan
5bfcff30cd
[WIP] Feature/reduce extraction to projection ( #2735 )
...
* reduce extractions to projections
* recycle string buffers in SocketTask
* micro optimizations for mmfiles indexes
* added special lookup function for _key
* moved function into the correct file
* speed up key buffer allocations a bit
* added noexcept specifier
* correctly name variable
* explicitly move bounds
* fix and speedup from/toPersistent functions
* reuse string from ManagedDocumentResult for multiple lookups
* use move-assign
* a bit less work for single server
* speedup AQL function HASH
* single fetch optimization
* performance optimization for the case when no documents need to be returned
* make reduce-extraction-to-projection a RocksDB-only optimizer rule
2017-07-12 11:22:29 +02:00
Jan
5c25b6934e
fix issue #2744 ( #2745 )
2017-07-07 12:39:02 +02:00
Frank Celler
bbe7484521
Feature/auth context ( #2704 )
...
* added read-only users
2017-07-02 23:15:57 +02:00
Jan
cfbd8ed93c
Bug fix/rocksdb autoincrement ( #2648 )
...
* Added autoincrement keygen support to RocksDB engine with test.
* fixed key generator state keeping for mmfiles engine
2017-06-23 15:27:09 +02:00
Jan
67016ba560
potentially fixed issue #2559 : Duplicate _key generated on insertion ( #2593 )
2017-06-19 17:44:59 +02:00
Jan
5cd9ad7ee1
fail with exception and not with undefined behavior when the expected primary index is not there! ( #2590 )
2017-06-18 22:48:15 +02:00
jsteemann
ad9fa2bd78
cleanup error codes a bit
2017-06-09 14:50:05 +02:00
jsteemann
e38705ec24
fixed logic error in index code
2017-06-06 23:59:06 +02:00
Dan Larkin
8c7ba2aaa3
Changed several index/collection APIs to provide better context messages.
...
Addresses Issue #342 .
2017-06-06 12:27:08 -04:00
jsteemann
12132c60c7
improve waitForSync performance for mmfiles
2017-06-06 12:44:39 +02:00
Simon Grätzer
72661d85c3
fixed incremental replication
2017-05-31 18:08:05 +02:00
jsteemann
e49cdceaa1
added missing lock
2017-05-24 19:41:43 +02:00
jsteemann
8bc6b3d3a1
removed default parameters
2017-05-18 15:06:19 +02:00
Simon Grätzer
9950fa7245
removing unused and unimplemented methods
2017-05-10 18:25:41 +02:00
jsteemann
910f5680b0
moved files
2017-05-02 12:34:28 +02:00
Max Neunhoeffer
170942da4f
Reduce maximal timeout in exponential backoff when waiting for a lock.
2017-04-28 11:38:17 +02:00
jsteemann
66ec078bd5
turn off deadlock detector in obvious cases in which it is not necessary
2017-04-27 14:47:19 +02:00
jsteemann
7344a03623
fix crashes
2017-04-25 15:47:11 +02:00
jsteemann
bd5737c5e7
try to fix shutdown issues when collection opening thread is waiting forever for scheduler to finish
2017-04-25 14:20:00 +02:00
jsteemann
861291da16
honor exclusive locks
2017-04-25 12:56:56 +02:00
Simon Grätzer
7176d34169
Fixed incremental synced
2017-04-24 15:40:48 +02:00
Dan Larkin
841ef8b1a0
Changed index VPack building to include forPersistence flag.
2017-04-17 17:04:50 -04: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
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
7fc2d97ae1
fix dropping of indexes
2017-04-04 16:41:05 +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
6a771c3caf
fix result handling
2017-03-31 13:34:02 +02:00
jsteemann
81dcfbbe3d
pass trx into numberDocuments
2017-03-31 11:33:16 +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
jsteemann
f728fcdbb8
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-03-29 02:41:00 +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
jsteemann
7bd6bd6e45
slightly adjusted index creation
2017-03-28 08:46:01 +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
f17ff29518
added stubs for indexes
2017-03-23 15:24:00 +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
b8e011eee5
move attributes into engine
2017-03-21 10:31:50 +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
e3d8ae142e
some fixes for view handling
2017-03-17 11:18:46 +01:00
jsteemann
1932fd1975
moved files
2017-03-16 16:45:02 +01:00
Max Neunhoeffer
428b6aa67f
Port thread fixes from 3.1 to devel.
2017-03-16 13:53:40 +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
Michael Hackstein
1ebf562c4e
Moved MMFiles out of vocbase.cpp
2017-03-14 10:29:17 +01:00
Michael Hackstein
83663c47b2
Deleted CollectionResult. It is identical to arangodb::Result introduced later.
2017-03-10 17:18:12 +02:00
jsteemann
31b050c5c7
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-03-09 16:06:47 +01:00
Michael Hackstein
046793815c
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-03-09 16:37:51 +02:00
jsteemann
e03497ec95
initialize members
2017-03-09 15:16:28 +01:00
Michael Hackstein
d0244b3d60
Usage of arangodb::Result above int return value. Moved marker logging out of v8-collection
2017-03-09 12:17:20 +01:00
jsteemann
6b882ca8a2
class renaming
2017-03-08 17:54:00 +01:00
Michael Hackstein
4701a40867
Cleanup LogicalCollection.h
2017-03-08 13:26:20 +01:00
Michael Hackstein
580d2a4336
Moved indexes down into the physical collections
2017-03-08 11:03:45 +01:00
Michael Hackstein
e6ab0afb50
Moved indexBuckets from Logical => MMFiles collection.
2017-03-07 14:07:32 +01:00
jsteemann
c2a41cb5a2
remove references to MMFiles*
2017-03-06 17:04:23 +01:00
Michael Hackstein
42e14c59f4
A MMFiles collection now reads a path if created from a slice.
2017-03-06 16:06:23 +01:00
jsteemann
236bc67216
fix crashes
2017-02-28 17:59:28 +01:00
Michael Hackstein
cac32a4d1d
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-02-28 14:59:13 +01:00
Michael Hackstein
df4eadac75
Replaced several specialized toVelocyPack functions of LogicalCollection by toVelocyPackIgnore(). Fixed distributeLike bug that occured through this.
2017-02-28 14:54:32 +01:00
jsteemann
5e0fd0c8b2
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-02-27 22:27:51 +01:00
jsteemann
b872aa59fd
simplified performance logging
2017-02-27 22:22:41 +01:00
jsteemann
e37e94adbe
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-02-27 14:38:35 +01:00
jsteemann
666b2f8da9
renaming
2017-02-27 14:38:27 +01:00
Michael Hackstein
ae14ae99a5
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-02-27 13:01:12 +01:00
jsteemann
90f32ed525
renamed classes
2017-02-27 11:40:15 +01:00
jsteemann
d0df1952e8
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-02-24 17:51:59 +01:00
Michael Hackstein
c8f03d16e3
updateProperties now returns an CollectionResult container with errorMessage and code. Moved error reporting logic for cluster-case into this function.
2017-02-24 17:00:41 +01:00
Michael Hackstein
cc78b0131f
v8-collection-properties now reuses propertiesVPack on logical collection (SingleServerCase)
2017-02-23 15:31:13 +01:00
Michael Hackstein
de31c68539
Moved isVolatile into MMfiles collection.
2017-02-23 14:56:54 +01:00
Michael Hackstein
daf7cc73e9
Added a propertiesVPack to PhysicalCollection / MMFiles collection for engine specific properties
2017-02-23 11:27:16 +01:00
Michael Hackstein
853394da79
Moved keyGenerator into physicalCollection. Only used when actually storing data.
2017-02-23 11:10:58 +01:00
Michael Hackstein
df59411710
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-02-22 14:43:10 +01:00
Jan Christoph Uhde
3a201b4362
add persistProperties() to PysicalCollection
2017-02-22 12:47:03 +01:00
Michael Hackstein
a359424af0
Moved logic of write Marker out of the dropIndex API from Logical collection. Can be derived from the engine internally.
2017-02-22 12:32:54 +01:00
Jan Christoph Uhde
711a71ac4d
add LogicalCollection::invokeOnAllElements()
...
and remove MMFilesPrimaryIndex.h from Transaction/Methods.cpp
2017-02-22 10:40:27 +01:00
Jan Christoph Uhde
fcfe66e254
add getAll/AnyIterator to LogicalCollection
2017-02-22 09:24:38 +01:00
Michael Hackstein
fbdbfdcb6d
Moved primaryIndex knowledge out of Logical Collection. Also moved logic for close into MMFiles
2017-02-21 14:12:07 +01:00
jsteemann
f5c8932744
initial version of query execution plan cache, still very rough
2017-02-21 11:58:38 +01:00
Jan Christoph Uhde
cf970ed230
Squashed commit of the following:
...
commit 2644735fe06806ec8ffb78ceb2ede04037258952
Author: Jan Christoph Uhde <Jan@UhdeJC.com>
Date: Tue Feb 21 09:10:55 2017 +0100
failed ammend
commit c2b8604df5a60fd00e57b4f088fe8a2624d9ac3b
Author: Jan Christoph Uhde <Jan@UhdeJC.com>
Date: Mon Feb 20 12:49:58 2017 +0100
move - maxTick to Physical - RACE!
2017-02-21 09:19:49 +01:00
Jan Christoph Uhde
071137adf6
move doCompact into PhysicalColletion
2017-02-20 10:53:11 +01:00
Jan Christoph Uhde
40a1345f76
Merge branch 'engine-api' of github.com:arangodb/arangodb into obi-engine-api
...
* 'engine-api' of github.com:arangodb/arangodb:
Moved logic for drop index into MMFilesCollection
2017-02-20 09:50:17 +01:00