1
0
Fork 0
Commit Graph

15092 Commits

Author SHA1 Message Date
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
Andreas Streichardt 06e32f37a0 aql now properly propagates the error again 2017-06-08 15:56:01 +02:00
Andreas Streichardt 749f4b980b Revert "Revert "Response can always be a nullptr""
This reverts commit c3c76e9a8f.
2017-06-08 15:56:01 +02:00
jsteemann e6fb0036dd Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-06-08 15:55:06 +02:00
jsteemann 40cf731cd7 fixed typos in error messages 2017-06-08 15:54:57 +02:00
Kaveh Vahedipour 74a78a5267 avoiding avalanche of appendEntries 2017-06-08 15:54:32 +02:00
Andreas Streichardt c3c76e9a8f Revert "Response can always be a nullptr"
This reverts commit 73b7d67510.
2017-06-08 15:39:06 +02:00
Andreas Streichardt f7a4efd464 Fix warning 2017-06-08 15:04:57 +02:00
Andreas Streichardt 73b7d67510 Response can always be a nullptr 2017-06-08 14:55:52 +02:00
Michael Hackstein 2e1d7b0fe1 RocksDB drop collection now does intermedieate writes of batches.
Furthermore fixed an issue with Column Family usage in drop.

commit 708cd81362b56213dd4d7a69b1e4eea120de0db4
Merge: b8896ea 924ef44
Author: Michael Hackstein <michael@arangodb.com>
Date:   Thu Jun 8 14:47:56 2017 +0200

    Merge branch 'devel' of github.com:arangodb/arangodb into feature/drop-collection-batches

commit b8896ea5479d56f3e6d55d6094ec2658b058dc04
Author: Michael Hackstein <michael@arangodb.com>
Date:   Thu Jun 8 14:47:37 2017 +0200

    Fixed drop collection in rocksdb for all entries that are not compacted in a complete file. it was using the wrong column family.

commit 59f6a9d51b1c12d665eba683d3b09f1b01ce77fc
Author: Michael Hackstein <michael@arangodb.com>
Date:   Thu Jun 8 13:00:18 2017 +0200

    Remove large range now uses ColumnFamily comparator instead of default one. Also it writes batches of 1000 documents to RocksDB instead of full deletion at once.
2017-06-08 14:48:33 +02:00
jsteemann 0c0a956a62 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-06-08 13:41:11 +02:00
jsteemann 25529aa674 try to stop queries multiple times so we catch all 2017-06-08 13:40:53 +02:00
jsteemann f40a6b622f removed unused includes 2017-06-08 13:37:30 +02:00
Jan 5ad9423f16 unify index struct return values in cluster and non-cluster for fulltext and geo indexes (#2534) 2017-06-08 13:35:00 +02:00
Kaveh Vahedipour c8be37f980 to rapid firing in sendAppendEntries 2017-06-08 13:22:47 +02:00
Michael Hackstein f21962dd03 Merged in Column Family for Views
Squashed commit of the following:

commit 860ddfc7a74866919ce5139ac3d874f09501ec97
Merge: d9ec0e3 bf20939
Author: Michael Hackstein <michael@arangodb.com>
Date:   Thu Jun 8 12:45:14 2017 +0200

    Merge branch 'devel' of github.com:arangodb/arangodb into feature/views-column-family

commit d9ec0e3c88122c6b9ee8acdbc6e69ca6af62e19f
Author: Michael Hackstein <michael@arangodb.com>
Date:   Thu Jun 8 12:44:43 2017 +0200

    Added a column family for views. It is no yet used anywhere. Just preparation.
2017-06-08 12:46:01 +02:00
jsteemann bf209397cd fixed shutdown issues 2017-06-08 12:30:43 +02:00
Andreas Streichardt 7250ba29ee Disable communicator and abort all requests when shutting down 2017-06-08 11:58:15 +02:00
Michael Hackstein f7e40a14ca RocksDBBounds now give info about their columnFamily. Adapted convenience methods that used those bounds to use correct column family now 2017-06-08 11:47:02 +02:00
jsteemann 427fc35f35 fix MSVC compile warnings 2017-06-08 10:48:39 +02:00
Ewout Prangsma 4d6fa5bb87 Import RocksDB encryption support (#2491)
* Import RocksDB encryption support

* Adding enterprise hooks

* Allocate scratch space in BlockCipher, used for all subsequent calls to EncryptBlock

* Adding more enterprise hooks

* Added encryption test script

* Added (commented) entry for encryption-keyfile

* Use correct env

* Updated ARANGODB value

* Log startup at debug level

* Removed TTY flag

* Fixed build

* Added prefix block support with unique initial counter & IV for CTR implementation
2017-06-08 08:51:02 +02:00
Andreas Streichardt a2f5871ee6 Keep retrying coordinator bootstrap 2017-06-07 18:22:08 +02:00
Simon Grätzer 2d3f1d8245 Added assert(false) to force coredump in jenkins 2017-06-07 17:44:52 +02:00
Simon Grätzer d70b1491ab Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-06-07 17:19:05 +02:00
Simon Grätzer 571356a6ae added pregel vertex / edge count checks 2017-06-07 17:18:59 +02:00
Kaveh Vahedipour 35492fa51f slice can throw 2017-06-07 16:40:16 +02:00