1
0
Fork 0
Commit Graph

15117 Commits

Author SHA1 Message Date
Jan f38ba7c84d fix invalid results (too many) when a skipping LIMIT was used for a traversal (#2603)
`LIMIT x` or `LIMIT 0, x` were not affected, but `LIMIT s, x` may have returned too many results
2017-06-19 17:34:47 +02:00
Jan b32db87b67 fix races in SSL communication (#2591) 2017-06-19 17:30:14 +02:00
Dan Larkin a3ae2b7191 Augmented cache API and fixed a potential deadlock scenario. (#2579)
* Augmented cache API and fixed a potential deadlock scenario.

* The RocksDBEdgeIndex now tries to read up to 10 times form the cache on lock_timeout. Instead of rewriting everything after first attempt
2017-06-19 17:28:04 +02:00
Frank Celler b48583e68f added request-source (#2599) 2017-06-18 22:56:05 +02:00
Dan Larkin a0c4e3d9df Improved RocksDB engine statistics with docs and rest endpoint (#2598)
* Improved statistics reporting for RocksDB engine (including cache info).

* Added documentation about db._engineStats().

* Added rest endpoint for engine stats.
2017-06-18 22:55:25 +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
Jan 9bebd33ba3 fix invalid first group results for sorted AQL COLLECT when LIMIT was used (#2577) 2017-06-16 09:44:14 +02:00
Jan 3209490a3f fix locking of JWT cache (#2570) 2017-06-16 09:43:16 +02:00
Jan 329cb53952 enable RVO (#2566) 2017-06-16 09:42:10 +02:00
Jan 08d43dbd78 refactor handling of V8 contexts and care more about exceptions (#2546)
* refactor handling of V8 contexts and care more about exceptions
2017-06-16 09:41:41 +02:00
Jan f2edafa710 fix recursive acquisition of condition variable (#2569) 2017-06-13 15:19:32 +02:00
Kaveh Vahedipour c1abc0333d cluster documentation varnish (#2553) 2017-06-12 19:02:11 +02:00
Michael Hackstein 9edb884bc8 Feature/planning issue 188 (#2547)
* add warmup documentation - #188

* warn when relinking build directory

* add warmup documentation - #188

* warn when relinking build directory

* Renamed warmup to loadIndexesInMemory which is a better name for the current implementation of this feature.

* Adapted WebUI to state 'load indexes in memory' instead of 'warmup'

* Added loadIndexesInMemory documentation.

* Renamed loadIndexesInMemory => loadIndexesIntoMemory
2017-06-12 18:54:45 +02:00
m0ppers e158fb95bb Feature/aql satellite fixes (#2552)
* Better error messages

* Improve error message

* Refetch current state for comparison...fixing satellite joins
2017-06-12 18:12:29 +02:00
Jan Christoph Uhde 3b6da80732 fix issue #2525 - content type for response not set (#2556) 2017-06-12 17:28:07 +02:00
Jan Christoph Uhde bd60ff0dad fix issue #2524 - make import work for vst over http (#2555) 2017-06-12 17:26:19 +02:00
Jan 2f04981fe9 modified error message so it becomes clear that the mmfiles engine also uses rocksdb internally, but only for persistent indexes (#2545) 2017-06-12 11:34:13 +02:00
Max Neunhoeffer d35092c990 Leave ClusterComm::performRequests immediately at shutdown. 2017-06-11 12:48:00 +02:00
Frank Celler 655ef21146 moved to 503 2017-06-09 22:50:52 +02:00
Max Neunhoeffer 2ef27a6190 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2017-06-09 22:47:12 +02:00
Max Neunhoeffer 603a55ebc2 During shutdown, we generally return HTTP 503. 2017-06-09 22:46:53 +02:00
Max Neunhoeffer 5275fef1c6 Treat HTTP 503 as backend not available in ClusterComm. 2017-06-09 22:42:22 +02:00
Kaveh Vahedipour ceb072c20d Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-06-09 21:13:31 +02:00
Kaveh Vahedipour 54e5bd92b0 fix for closed sockets while async writes were still pending 2017-06-09 21:13:23 +02:00
Michael Hackstein 43c4987023 Adapted the traverser code to make conditions for the used index and for post-filtering non-overlapping. If the post-filtering is empty it is not evaluated at all. 2017-06-09 17:01:26 +02:00
Frank Celler cf89496faa shutdown will close sockets immediately (#2540) 2017-06-09 16:08:54 +02:00
Andreas Streichardt 8e15412e06 Wait for supervision node to prevent races 2017-06-09 15:52:29 +02:00
jsteemann b334a6132c Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-06-09 14:51:20 +02:00
jsteemann 8add368a78 merged shutdown and close 2017-06-09 14:51:11 +02:00
jsteemann ad9fa2bd78 cleanup error codes a bit 2017-06-09 14:50:05 +02:00
Kaveh Vahedipour 6348945711 revert ssl handshake timeout 2017-06-09 14:04:59 +02:00
Kaveh Vahedipour 7bb62b84ef Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-06-09 14:03:51 +02:00
Kaveh Vahedipour 72721f5b2b _preparing is enough for both persistent restart and leadership change in agency 2017-06-09 14:03:47 +02:00
Max Neunhoeffer 1b618a9e47 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2017-06-09 13:07:02 +02:00
Max Neunhoeffer 29921d32a8 Fix behaviour of synchronous replication in dropFollower case.
If we are already in shutdown, we do not drop a follower.
If we cannot drop a follower (no contact to agency), we error out.
2017-06-09 13:06:02 +02:00
jsteemann 21ac01fba6 remove unused functions 2017-06-09 12:29:14 +02:00
Andreas Streichardt dd89653798 typo in error message 2017-06-09 12:20:35 +02:00
Kaveh Vahedipour 3f0b4ad4ee investigating ssl handshake bug 2017-06-09 11:58:45 +02:00
Kaveh Vahedipour 1503ca2510 also while preparing, the agency should not answer to api 2017-06-09 11:54:58 +02:00
Max Neunhoeffer f1db8666ac Catch a rare error condition in Maintainer mode. 2017-06-09 11:06:49 +02:00
Jan c176a11930 control RocksDB block cache filling for the primary and edge indexes (#2532) 2017-06-09 08:32:46 +02:00
Max Neunhoeffer a97ec1cc29 Try to handle another shutdown hanger. 2017-06-09 00:42:31 +02:00
Max Neunhoeffer 5bebd359cb Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2017-06-09 00:08:35 +02:00
Kaveh Vahedipour a45709d64a fix for cluster restart in multi-host agency 2017-06-09 00:05:56 +02:00
Kaveh Vahedipour 9986752051 broken single host restart 2017-06-08 23:52:58 +02:00
Max Neunhoeffer f2154cdda4 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2017-06-08 23:14:42 +02:00
Kaveh Vahedipour c7467dada9 OMG bug in agency::write and startup sequence 2017-06-08 23:10:47 +02:00
Max Neunhoeffer 99d6624fd4 Detect a tick zero response in logger-state in replication. 2017-06-08 22:45:24 +02:00
jsteemann 8f92dde3c3 remove only-assigned string variable 2017-06-08 22:20:48 +02:00
jsteemann b9c000253d fix tick assignment
arangod may report a "lastLogTick" value of "0" when a request to
/_api/replication/logger-state was made before the first WAL write
operation was synced to disk. After the first sync operation, the
"lastLogTick" values were ok then.
Now a "lastLogTick" value of "0" should not be returned even when
the logger state API is queried directly after the startup.
2017-06-08 22:12:23 +02:00