1
0
Fork 0
Commit Graph

1913 Commits

Author SHA1 Message Date
Max Neunhöffer 0b4a969a46
Port timeout in cluster operation fixes from 3.4 to 3.3. (#7308)
* Port timeout in cluster operation fixes from 3.4 to 3.3.
2018-11-14 12:37:56 +01:00
Max Neunhöffer e78764b1fd Try to fix timeout in drop collection. (#7065)
* Try to fix timeout in drop collection.

* Use atomics instead of volatile.
2018-11-12 13:11:55 +01:00
Heiko f0c2370f36 fixes some misbehaviour within the coordinator agency callbacks (#7105)
* fixes some misbehaviour within the coordinator agency callbacks

* changelog
2018-11-09 09:22:25 +01:00
Max Neunhöffer f2f9fe4e3d
Repair arangorestore. (#7076)
* Improve logging on coordinator when doing `arangorestore`.

* Return more error information in `mergeResults`.

* Longer timeout for communication coordinator -> leader for writes.

This is taking into account possible write stops from followers needed
to get in sync.

* Fix compilation.

* Get rid of numbers in exception log messages.

* Fix a typo.
2018-10-31 14:39:20 +01:00
Tobias Gödderz 76fc3ad5c9 [3.3] Stop curl from trying to POST stdin (#7099)
* Stop libcurl from trying to POST stdin

* Stop relocking every iteration in wait

* Remove unimplemented function

* Restrict setting of empty POSTFIELDS to POST requests

* Revert locking change

* Fixed erroneous backport
2018-10-29 14:41:15 +01:00
Max Neunhoeffer 8e022c2556
Revert "Return more error information in `mergeResults`."
This reverts commit c2fcbc9444.
2018-10-25 13:35:17 +02:00
Max Neunhoeffer c2fcbc9444
Return more error information in `mergeResults`. 2018-10-25 13:34:02 +02:00
Simon abfe01e26f Better agency pool update (#7037) 2018-10-25 10:00:50 +02:00
Simon 4359d98b9d Properly compare velocypack objects in Agency operations (#6924) 2018-10-23 11:52:14 +02:00
Jan d7a1383495
fix arangojs issue 573 (#6765) 2018-10-10 09:20:03 +02:00
Jan 6d2ff1dd40
properly display shard synchronization progress (#6693)
* properly display shard synchronization progress

* fixed tests
2018-10-04 21:05:07 +02:00
Simon Grätzer eb0fb254a1
Copy installation files on startup 2018-09-26 14:09:33 +02:00
Dan Larkin-York 069b456217 [3.3] Backport #6539. (#6569) 2018-09-24 13:00:08 +02:00
Simon fed9a45b20 Properly check syncer erros, catch more exceptions (#6521) 2018-09-17 16:39:10 +02:00
Jan dbb57eee56
do *not* modify _plannedCollections for selectivity estimates (#6489) 2018-09-13 17:19:04 +02:00
Max Neunhöffer 6f6e42e1f3
Wait 2s after switching server mode before answering. (#6392)
This is needed because the change is propagated via the agency and the
heartbeat, which only happens once per second.
2018-09-05 21:13:44 +02:00
Jan 3ac7868f6a do not crash on an empty followers list (#6373) 2018-09-05 17:04:22 +02:00
Simon 91d4c7edb1 Make sure leader is doing a full resync (#6236) 2018-08-24 09:38:35 +02:00
Matthew Von-Maszewski ef4a6b84fa backport PR 6150: unique function to block network retries during shutdown. (#6188) 2018-08-20 12:58:25 +02:00
Matthew Von-Maszewski 141766d20e backport of PR 5201 to 3.3 code line (#6186) 2018-08-20 09:27:34 +02:00
Matthew Von-Maszewski 5bff8bed45 Bugfix 3.3: port devel PR 5114 to 3.3 branch (#6124) 2018-08-17 14:19:42 +02:00
Kaveh Vahedipour 628fbe23ef Bug fix 3.3/servers should retry registration (#5917) 2018-08-17 11:14:50 +02:00
Jan c10eb9ee10
fix potential crash in shard distribution reporter (#6120) 2018-08-09 11:29:09 +02:00
Matthew Von-Maszewski ec5a2f62b8 3.3: Bring two key Agency bug fixes, plus some secondary stuff back to 3.3 (#6009) 2018-08-08 10:33:17 +02:00
Kaveh Vahedipour 3e17bad2ae Bug fix/parallel creation of indexes incluster (#6086) 2018-08-07 11:47:28 +02:00
Jan 40edf3150e
fixed issue #6076: Segmentation fault after AQL query (#6081) 2018-08-06 14:27:07 +02:00
jsteemann aabddb7c28 rename attribute to "engine" for consistency 2018-08-03 11:08:13 +02:00
Dan Larkin-York fc7976b92d Register version and storage engine info in agency to facilitate rolling upgrades (#6062) 2018-08-03 09:46:42 +02:00
Dan Larkin-York 1897fd029f Add load balancing support to cursor API in 3.3 (#5797) 2018-07-24 09:56:40 +02:00
Tobias Gödderz 209e53aaf7 [3.3] Bugfix: Add missing plan version increments in repair-distributeShardsLike (#5952)
* Added missing plan version increments. Taken from #5649.

* Fix test: increase plan version after changing the plan
2018-07-24 09:14:08 +02:00
jsteemann 84dc409ecf make shard key change check not start extra HTTP requests 2018-07-23 11:32:51 +02:00
Frank Celler cb0aaa435f backport Scheduler from devel (#5533) 2018-06-28 13:26:04 +02:00
Jan 3bbc89ee96
fixed AQL DOCUMENT lookup function for documents for shard collection… (#5609) 2018-06-15 09:16:23 +02:00
Tobias Gödderz 6ca523f270 [3.3] Compile fix for homebrew (#5417) 2018-05-22 12:56:20 +02:00
Tobias Gödderz a391088dbf [3.3] Fix inconsistent distributeShardsLike job (#5300) 2018-05-17 12:07:20 +02:00
Kaveh Vahedipour 67f6e23462 agency pool size had to be larger 1 (#5380) 2018-05-17 12:01:19 +02:00
Simon 4f5defc9ea Fixing agency pool update (#5327) 2018-05-14 18:07:47 +02:00
Simon 08b787d897 Fix follower to leader log message (#5212) 2018-04-27 15:20:38 +02:00
Simon c954841a4f Backport supervision for active failover job + testsuite (#5181) 2018-04-23 16:38:11 +02:00
Simon f2ef1c45fb Replication cleanup (#5106) 2018-04-23 11:04:46 +02:00
Kaveh Vahedipour 507418d9a4 stop supervision on demand (#5109)
* stop supervision on demand
* adding tests
* Correct an error message.
2018-04-20 11:58:47 +02:00
Jan b96250b57a
fix restoring of smart graph edge collections so it does not time out (#5048) 2018-04-06 14:15:29 +02:00
jsteemann bccf6bbe4e re-added missing sendState call 2018-04-04 17:26:17 +02:00
Jan 765aed1368 bump version number for all local DDL changes and tell agency (#4684)
* bump version number for all local DDL changes and tell agency
  this allows other listeners (e.g. for DC2DC) to get notified when  
  DDL operations are carried out locally and need to be applied remotely
* Increase a log level.
2018-03-23 12:34:08 +01:00
Jan 12decb1c29
increase timeout for index creation (#4914) 2018-03-21 18:17:26 +01:00
Jan 29be817cf8
fixed internal issue 2102: Segfaults in arangod console when using ag… (#4875)
* fixed internal issue 2102: Segfaults in arangod console when using agency functions in single server mode

* make more ops fail when invoking them in non-cluster mode
2018-03-20 11:21:42 +01:00
Max Neunhöffer 3e7425a392 More logging and increase timeout. (#4858) 2018-03-15 13:29:59 +01:00
Max Neunhöffer cea61e84eb
Load list of current DBServers regularly from agency. (#4850) 2018-03-15 00:44:34 +01:00
Kaveh Vahedipour 263fe1f6e9 3.3: fixed the missed changes to plan after agency callback is registred f… (#4777)
* fixed the missed changes to plan after agency callback is registred for create collection
* fixed agency inquire
2018-03-14 12:03:40 +01:00
Jan f781fe5cbc
fix blind spot in storage engine selection (#4810) 2018-03-12 13:41:00 +01:00