mirror of https://gitee.com/bigwinds/arangodb
DropCollection is a FAST_LANE action and should not need much time or else retry. (#9897)
This commit is contained in:
parent
ea5106ff60
commit
36d7e3628b
|
@ -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.
|
||||
|
||||
|
|
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue