mirror of https://gitee.com/bigwinds/arangodb
increase the timeouts for replication, in order to increase the chanc… (#6733)
This commit is contained in:
parent
642c5fd994
commit
5b86561c22
|
@ -1,6 +1,11 @@
|
|||
v3.3.18 (XXXX-XX-XX)
|
||||
--------------------
|
||||
|
||||
* increased default timeouts in replication
|
||||
|
||||
this decreases the chances of followers not getting in sync with leaders because
|
||||
of replication operations timing out
|
||||
|
||||
* fixed internal issue #1983: the Web UI was showing a deletion confirmation
|
||||
multiple times.
|
||||
|
||||
|
|
|
@ -683,7 +683,7 @@ void MMFilesRestReplicationHandler::handleCommandCreateKeys() {
|
|||
|
||||
// initialize a container with the keys
|
||||
auto keys =
|
||||
std::make_unique<MMFilesCollectionKeys>(_vocbase, std::move(guard), id, 300.0);
|
||||
std::make_unique<MMFilesCollectionKeys>(_vocbase, std::move(guard), id, 900.0);
|
||||
|
||||
std::string const idString(std::to_string(keys->id()));
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ struct IncrementalSyncStats {
|
|||
|
||||
class InitialSyncer : public Syncer {
|
||||
public:
|
||||
static constexpr double defaultBatchTimeout = 300.0;
|
||||
static constexpr double defaultBatchTimeout = 7200.0; // two hours
|
||||
|
||||
public:
|
||||
explicit InitialSyncer(ReplicationApplierConfiguration const&);
|
||||
|
|
|
@ -66,7 +66,7 @@ Syncer::Syncer(ReplicationApplierConfiguration const& configuration)
|
|||
_connection(nullptr),
|
||||
_client(nullptr),
|
||||
_barrierId(0),
|
||||
_barrierTtl(600),
|
||||
_barrierTtl(900),
|
||||
_barrierUpdateTime(0),
|
||||
_isChildSyncer(false) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue