Jan
057e87f919
fix shutdown in case no threads can be started ( #3648 )
2017-11-10 10:21:51 +01:00
Jan
7613bc4314
Bug fix/fixes 0211 ( #3568 )
...
* remove some non-unused V8 persistents
* do not throw that many bogus assertions
* do not rely on server role being defined
* slightly better debug output for V8 context debugging
* fix collection ids in inventory response
* simplify bootstrap a bit
* slightly better error handling
* make elapsed time a queryable value
* use less memory for stub collections
* added assertions that will always make sense
* added assertions
* do not garbage-collect while waiting
* less copying of parameters
* do not show "load indexes into memory" buttons for mmfiles engine
as all indexes are in memory anyway
* when a collection is truncated via the web interface, flush the WAL and rotate all active journals
this will make close all open journals on leader and followers and make them subject to compaction opportunities
* fix invalid server id values being passed from web interface to backend
* introduce afterTruncate method for indexes
* added test case for issue #3447
* updated CHANGELOG
* don't warn about replicationFactor for system collections
* check that the queries actually use the geo index and not some other index
* properly report error in web interface
* fix some internals checks that made truncate fail for bigger collections in maintainer mode
* also run a compact() operation after a serious truncate
in order to make iteration over the truncated range much faster
when the collection is next accessed
* increase default maximum number of V8 contexts to at least 16
2017-11-09 12:48:15 +01:00
Simon Grätzer
64e9377c05
Replacing /_api/collection with RestHandler ( #3543 )
2017-11-02 14:57:17 +01:00
Simon Grätzer
7c31960cf2
Feature/async failover ( #3451 )
2017-10-18 23:59:29 +02:00
Simon Grätzer
88d01b89b5
Optimizations for Caches and Graph Traversals ( #3169 )
2017-08-31 18:33:10 +02:00
Frank Celler
6d08d4f4aa
Bug fix/scheduler delete ( #3077 )
...
* removed delete call
* cleanup
* lower cpu activity of log thread too
* fix log messages
* do not enter threads into unordered_set, as it is unneeded
* do not compile in calls to disabled plan cache
* moved AQL regex cache from thread local variables to a class of its own
* more sensible thread creation and destruction
2017-08-25 12:00:17 +02:00
Jan
a10832d41e
do not allow the creation of volatile collections in the RocksDB stor… ( #2900 )
...
* do not allow the creation of volatile collections in the RocksDB storage engine
* only create a volatile collection for mmfiles in test
* fix tests
2017-08-03 22:45:17 +02:00
Simon Grätzer
634254b80f
adding load and unload
2017-06-02 14:44:38 +02:00
jsteemann
0366fba276
try to fix thread joining for replication applier
2017-05-18 21:05:57 +02:00
Dan Larkin
037f3f38b9
Removed accidental log spam.
2017-05-04 15:30:09 -04:00
Dan Larkin
d77efe38dc
Added explicit WAL file lifecycle management to reduce space overhead from replication.
2017-05-04 15:16:24 -04:00
Simon Grätzer
cdbea139ce
added replication client garbage collection
2017-05-04 18:40:55 +02:00
jsteemann
910f5680b0
moved files
2017-05-02 12:34:28 +02:00
jsteemann
fcc61115d8
try to fix feature startup order (Scheduler vs. CacheManager vs. DatabaseFeature)
2017-04-24 13:17:21 +02:00
Michael Hackstein
1087065ea5
Merge branch 'devel' of github.com:arangodb/arangodb into engine-api
2017-04-13 17:34:25 +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
Dan Larkin
f056aeee42
Fixed unloaded collection status reporting issue.
2017-04-06 16:21:51 -04:00
jsteemann
2aa2fd65a4
more startup
2017-03-24 14:20:51 +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
979f003538
added ViewTypesFeature
2017-03-16 12:50:22 +01:00
jsteemann
0bb2711abb
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into views
2017-03-16 12:16:23 +01:00
Dan Larkin
aa23074efd
Added view retrieval via HTTP with tests and initial work on view factory.
2017-03-15 18:44:48 -04:00
jsteemann
7e7fe8bc21
discover views on startup
2017-03-15 14:48:10 +01:00
jsteemann
49aef67cca
use std::shared_ptrs for views
2017-03-15 13:07:08 +01:00
jsteemann
1a06f1e15e
initial functionality for views - unstable
2017-03-14 16:35:45 +01:00
Michael Hackstein
1ebf562c4e
Moved MMFiles out of vocbase.cpp
2017-03-14 10:29:17 +01:00
Michael Hackstein
1c33e77bd8
Moved unloadCollection callback into StorageEngine.
2017-03-13 17:28:08 +01:00
Michael Hackstein
83663c47b2
Deleted CollectionResult. It is identical to arangodb::Result introduced later.
2017-03-10 17:18:12 +02:00
Michael Hackstein
90b4876d3c
Moved WriteMarker code Vocbase => MMFilesEngine. Also removed the decission to write a marker out of Vocbase-API
2017-03-09 11:12:39 +01:00
Michael Hackstein
489f0d12b8
Moved the decision to write a marker into the databaseFeature, it is not triggered from outside any more. Furthermore renameCollection write marker is now done in MMFiles.
2017-03-08 14:54:25 +01:00
Michael Hackstein
31df7eb527
Fixed error in recovery for duplicate collection name
2017-03-06 17:34:54 +01:00
jsteemann
236bc67216
fix crashes
2017-02-28 17:59:28 +01:00
Michael Hackstein
900b15dd3a
API cleanup in LogicalCollection. Removed some unused exposed toVelocypack functions. Removed toVelocyPack with maxTick variant. That is available in the StorageEngine instead
2017-02-28 15:35:31 +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
Michael Hackstein
ae14ae99a5
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-02-27 13:01:12 +01:00
Michael Hackstein
a884ee2bfb
Intermediate commit. Moved many toVPack functions of LogicalCollection to a unified vpack + ignore-keys alternative. This commit is used to run all tests everywhere. May be red
2017-02-27 13:01:07 +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
jsteemann
dc72ec3ee7
fixed a race when dropping databases
2017-02-23 15:22:50 +01:00
jsteemann
3679050a31
fixed a race when renaming collections
2017-02-23 13:41:48 +01:00
Michael Hackstein
5d452edec6
Moved ditches into MMFiles.
2017-02-23 09:02:34 +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
6e1f77be24
remove ditches from interface. the ditches concept needs fixing!!
2017-02-21 10:53:51 +01:00
jsteemann
3e7432ccd6
clean up write lockers a bit
2017-02-16 15:44:45 +01:00
jsteemann
e7a0b181e6
fix potential deadlock
2017-02-16 12:04:36 +01:00
Michael Hackstein
32bd15d098
Renamed collection->update() to update the properties of a collection to collection->updateProperties(). There is another update() which is used for the stored Documents.
2017-02-14 10:32:24 +01:00