1
0
Fork 0

[3.5] drop collection action timeout (#9894)

* DropCollection is a FAST_LANE action and should not need much time or else retry.

* DropCollection is a FAST_LANE action and should not need much time or else retry.

* Update CHANGELOG
This commit is contained in:
Kaveh Vahedipour 2019-09-04 17:52:29 +02:00 committed by KVS85
parent f25baf1ecb
commit 8e04c84380
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
v3.5.1 (XXXX-XX-XX)
-------------------
* Drop collection action to timeout more quickly to stay on fast lane.
* Check for duplicate server endpoints registered in the agency in sub-keys of
`/Current/ServersRegistered`.

View File

@ -77,7 +77,7 @@ bool DropCollection::first() {
TRI_ASSERT(coll);
LOG_TOPIC("03e2f", DEBUG, Logger::MAINTENANCE)
<< "Dropping local collection " + collection;
_result = Collections::drop(*coll, false, 120);
_result = Collections::drop(*coll, false, 2.5);
});
if (found.fail()) {