0
0
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:
Dan Pasette 2015-03-04 22:12:13 -05:00 committed by Dan Pasette
parent 1383eaef74
commit ac525a4566

View File

@ -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();