mirror of https://gitee.com/bigwinds/arangodb
[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:
parent
f25baf1ecb
commit
8e04c84380
|
@ -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`.
|
||||
|
||||
|
|
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue