Lars Maier
dd07d74d69
[devel] Bug fix/bad leader report current ( #7585 )
...
* Bug fix 3.4/bad leader report current (#7574 )
* Initialize theLeader non-empty, thus not assuming leadership.
* Correct ClusterInfo to look into Target/CleanedServers.
* Prevent usage of to be cleaned out servers in new collections.
* After a restart, do not assume to be leader for a shard.
* Do nothing in phaseTwo if leader has not been touched. (#7579 )
* Drop follower if it refuses to cooperate.
This is important since a dbserver that is follower for a shard will
after a reboot think that it is a leader, at least for a short amount
of time. If it came back quickly enough, the leader might not have
noticed that it was away.
2018-12-03 10:20:30 +01:00
Lars Maier
908df47cd7
[devel] Bug fix/cluster health ui timestamp ( #7562 )
2018-11-30 16:26:21 +01:00
Lars Maier
52cff7ad55
Feature/engine version added to agent configuration ( #7481 ) ( #7524 )
...
* agents' is obtained from leader's configuration
* corrections in Supervision for advertised endpoints
* change log
* Updated Documentation for cluster/health.
* Unified naming convention.
* Fixed missing update of volatile fields.
* Set version in right order.
* Removed debug output.
* Fixed jslint - missing ;
2018-11-29 14:25:40 +01:00
Lars Maier
f3ade0f860
Version/Engine Cluster Health ( #7474 )
...
* Export Version and Engine in Cluster Health. Additionally export `versionString` in registered Servers.
* Updated Changelog.
2018-11-27 14:56:00 +01:00
Max Neunhöffer
d72e51ed8f
Fix move leader shard. ( #7445 )
...
* Ungreylist move shard test.
* Move leader shard: wait until all but the old leader are in sync.
* Increate moveShard timeout to 10000 seconds.
* Add CHANGELOG entry.
* Fix compilation.
* Fix a misleading comment.
2018-11-26 15:04:04 +01:00
Kaveh Vahedipour
9ec6619b84
Bug fix/index readiness ( #6541 )
...
* indexes are marked while still missing in Current
* index handling getCollection
* supervision gets indexes from isbuilding, when coordinator is gone before finishing
* seems right now
* fixed broken views
* remove junk comments
* cleanup
* node / supervision adjustements
* supervision fixes
* neunhoef remarks part i
* neunhoef remarks part ii
* neunhoef remarks part ii
* neunhoef remarks part iiI
* collection's current version please
* no need to wait for current once again
* no longer necessary code
* clear comments
* delete left overs
* dead code revived
2018-11-21 14:42:58 +01:00
Max Neunhöffer
f720703c38
Supervision bug fix to start with clean transient store. ( #7325 )
...
* Supervision bug fix to start with clean transient store.
* Add CHANGELOG entry.
2018-11-15 11:24:34 +01:00
Markus Pfeiffer
39bdebf851
Port bug-fix-3.4/timeout-create-coll to devel ( #7307 )
...
* Fix loophole in error handling.
* Fix inquiry case of id not found: 404.
* Also handle correctly in AgencyComm.
* Fix agency tests.
* Fix error handling in dropCollectionOnCoordinator.
2018-11-14 10:03:55 +01:00
Jan
7306cdaa03
try not to throw so many exceptions from Supervision ( #7227 )
2018-11-07 15:36:41 +01:00
Simon
c72818a9dc
Make ensureIndexOnCoordinator more robust ( #7110 )
2018-10-29 17:45:46 +01:00
Simon
10dc287eb3
Silence Tsan warnings ( #7075 )
2018-10-25 15:50:39 +02:00
Heiko
a13f68bc5b
Bug fix/agency loop wrong credentials ( #7039 )
...
* arangod now exits when used wrong credentials during the startup process
* CHANGELOG
2018-10-25 14:15:50 +02:00
Simon
d23aaa2198
Better agency pool update ( #7040 )
2018-10-24 16:23:21 +02:00
Simon
8b7a4099b8
Properly compare velocypack objects in Agency operations ( #6921 )
...
* Properly compare velocypack objects in Agency operations
* Add changelog
* added option for VPackDumper
2018-10-17 20:03:53 +02:00
jsteemann
5f951840a9
fix compilation
2018-10-12 17:56:55 +02:00
Kaveh Vahedipour
d524ba616b
fixed hyperventing agent ( #6776 )
...
* fixed hyperventing agent
2018-10-12 17:03:08 +02:00
Max Neunhöffer
2452dcc5d0
Remove a relic from early days in /Target/FailedServers. ( #6690 )
...
* Remove a relic from early days in /Target/FailedServers.
* Fix a test.
2018-10-09 13:52:32 +02:00
Jan
e78d1aa541
Bug fix/even more ldap debugging ( #6736 )
2018-10-08 09:42:11 +02:00
Lars Maier
6546b908be
Bug fix/cleanup lost collection inc plan v ( #6720 )
...
* Increase the current version rather than the plan version.
2018-10-04 15:38:41 +02:00
jsteemann
b067d738e5
fixed indentation a bit
2018-10-03 13:25:32 +02:00
Simon
5837291495
Debug logs for ActiveFailover ( #6684 )
2018-10-02 15:10:50 +02:00
Jan
c06f2d77da
Feature/velocypack update ( #6678 )
2018-10-02 14:04:14 +02:00
Max Neunhöffer
a549dd9264
Increase Plan/Version if follower is removed in MoveShard. ( #6669 )
...
This was forgotten when we added the `remainsFollower` flag.
2018-10-01 16:55:04 +02:00
Lars Maier
14d1487710
Catch all exceptions to prevent maintenance workers from crashing. ( #6645 )
...
* Catch all exceptions to prevent maintenance workers from crashing.
* Please don't free this.
* Unified code paths.
* Remove dub comment.
* Removed debug output.
* Deleted unneeded constructors.
* Assignment operator deleted.
2018-09-28 17:10:44 +02:00
Max Neunhöffer
2fc368028b
Fix a crash found by the agency torturer. ( #6589 )
2018-09-28 15:15:26 +02:00
Kaveh Vahedipour
a73023e512
Bug fix/agency update endpoints ( #6519 )
...
* update endpoints in agency done the RAFT way
* fix mock interface
* tests functioning with new agent interfacwe
* handling non-leader
2018-09-28 15:14:48 +02:00
Lars Maier
3dbb0558f3
Clean lost collections in supervision ( #6592 )
...
* Working draft: clean lost collections in supervision.
* Added early exit as in spec.
* Finished test. Fixed logging.
2018-09-26 16:54:29 +02:00
Simon
0a9afccde5
Fix crash on Agency / DBserver with user JWT tokens ( #6594 )
2018-09-26 14:26:35 +02:00
Simon
b16af5ac71
Fix superfluous QueryRegistry::close, cleanup ( #6579 )
2018-09-24 13:10:07 +02:00
Simon
912f109968
Add simple Future library ( #6464 )
2018-09-21 16:14:17 +02:00
Lars Maier
5929cafaf9
cleanoutServer Bug Fix ( #6537 )
...
* Fixing bug: cleanoutServer will no longer add old leader as follower.
* Fixed rollback.
2018-09-21 10:16:14 +02:00
Simon
aa21ffdb7a
Properly check syncer erros, catch more exceptions ( #6520 )
2018-09-17 16:39:23 +02:00
Dan Larkin-York
0dfabd8f04
Fix several TSan warnings ( #6473 )
2018-09-14 11:16:45 +02:00
Max Neunhöffer
84735955ea
Add advertised endpoints. ( #6104 )
2018-09-13 16:30:55 +02:00
Simon
22b9c31c13
Removing ClusterComm ClientTransactionID ( #6294 )
2018-09-12 22:15:16 +02:00
Kaveh Vahedipour
6b2733625c
Feature/static const strings cleanup ( #6352 )
...
* AgentConfiguration cleanup
* static strings in maintenance / agency
* more strings unified
* fix windows build
2018-09-11 13:40:03 +02:00
Jan
17ea2d4ec9
suppress some messages which are expected on shutdown ( #6381 )
2018-09-05 14:15:35 +02:00
Vasiliy
5329f34771
issue 465.2.2: remove redudnant heap allocations and simplify API ( #6349 )
...
* issue 465.2.2: remove redudnant heap allocations and simplify API
* address merge issue
* address more merge issues
* address more merge issues
* address review comments
* do not deallocate non-allocated instances
2018-09-05 13:37:37 +03:00
Vasiliy
e862efdc3b
issue 458.4: retrieve the system database via the SystemDatabaseFeature ( #6299 )
2018-08-31 19:45:10 +02:00
Jan
5873f63a72
Bug fix/fixes 2908 ( #6279 )
2018-08-31 17:26:54 +02:00
Lars Maier
63d9cfa081
Maintenance Fixes ( #6284 )
...
* Clean up for `FIXMEMAINTENANCE` comments: removed race condition, added errors and `notify()`s.
* Removed dublicated code.
* Added requested changes. Added error reporting for `UpdateCollection`.
* Make it compile. Add missing `notify()`.
* `CreateCollection` generates errors in all code paths.
* Fixed catch test.
2018-08-31 15:24:29 +02:00
Kaveh Vahedipour
fe9b2fecdc
notifyInactive has been lying aroung in the agent without being used. relique of the time, when we thought, that we would have an pool of agents from which we'd draw, if an agent failed ( #6290 )
2018-08-31 10:48:39 +02:00
Kaveh Vahedipour
28754cbf15
Feature/schmutz plus plus ( #5972 )
...
- Schmutz now called "Maintenance" and completely implemented in C++
- Fix index locking bug in mmfiles
- Fix a bug in mmfiles with silent option and repsert
- Slightly increase supervision okperiod and graceperiod
2018-08-24 12:15:35 +02:00
Simon
229c09d434
Allow dirty-reads from passive ( #6136 )
2018-08-20 16:26:14 +02:00
Matthew Von-Maszewski
86ea784372
bugfix: establish unique function name & implementation for communication retry status ( #6150 )
...
* initial checkin of isRetryOK(). Includes fixes to known code that has previously hung shutdowns by performing infinite retries.
* slight help on getting out of a loop faster during shutdown. not essential.
2018-08-17 14:57:12 +02:00
Vasiliy
6fd541d110
issue 427.5: use ApplicationServer reference instead of pointer ( #6145 )
...
* issue 427.5: use ApplicationServer reference instead of pointer
* address MSVC build failure
2018-08-15 12:16:02 +03:00
Jan
a5bb50b0bf
remove methods from VelocyPackHelper that are also in VPackSlice ( #5946 )
2018-07-25 09:01:29 +02:00
Jan
ac1d5aac9b
allow starting agency with --console again (requires V8 then) ( #5927 )
2018-07-24 09:34:22 +02:00
Max Neunhoeffer
1c4beb4c34
Keep failed follower in followers list in Plan.
2018-07-23 11:25:10 +02:00
Kaveh Vahedipour
0080498e89
compaction index should not exceed local commit index ( #5900 )
2018-07-17 15:54:20 +02:00