mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-28 07:59:02 +01:00
SERVER-17378 pass an explicit no timeout to compact in WiredTiger
This commit is contained in:
parent
1383eaef74
commit
ac525a4566
@ -726,7 +726,7 @@ namespace {
|
||||
WiredTigerSessionCache* cache = WiredTigerRecoveryUnit::get(txn)->getSessionCache();
|
||||
WiredTigerSession* session = cache->getSession();
|
||||
WT_SESSION *s = session->getSession();
|
||||
int ret = s->compact(s, getURI().c_str(), NULL);
|
||||
int ret = s->compact(s, getURI().c_str(), "timeout=0");
|
||||
invariantWTOK(ret);
|
||||
cache->releaseSession(session);
|
||||
return Status::OK();
|
||||
|
Loading…
Reference in New Issue
Block a user