1
0
Fork 0

DropCollection is a FAST_LANE action and should not need much time or else retry. (#9897)

This commit is contained in:
Kaveh Vahedipour 2019-09-04 14:48:50 +02:00 committed by Frank Celler
parent ea5106ff60
commit 36d7e3628b
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
v3.4.8 (2019-09-XX)
-------------------
* Drop collection action to timeout more quickly to stay on fast lane
* Fixed non-deterministic occurrences of "document not found" errors in sharded
collections with custom shard keys (i.e. non-`_key`) and multi-document lookups.

View File

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