Details
-
Improvement
-
Resolution: Duplicate
-
Minor - P4
-
None
-
None
-
None
-
Storage Execution
Description
In db/storage/wiredtiger/wiredtiger_kv_engine.cpp:
Status WiredTigerKVEngine::_salvageIfNeeded(const char* uri) {
|
// Using a side session to avoid transactional issues
|
WiredTigerSession sessionWrapper(_conn);
|
WT_SESSION* session = sessionWrapper.getSession();
|
|
|
int rc = (session->verify)(session, uri, NULL);
|
if (rc == 0) {
|
log() << "Verify succeeded on uri " << uri << ". Not salvaging.";
|
return Status::OK();
|
}
|
|
|
if (rc == EBUSY) {
|
// SERVER-16457: verify and salvage are occasionally failing with EBUSY. For now we
|
// lie and return OK to avoid breaking tests. This block should go away when that ticket
|
// is resolved.
|
error() << "Verify on " << uri << " failed with EBUSY. Assuming no salvage is needed.";
|
return Status::OK();
|
}
|
SERVER-16457 has been fixed since 2.8.
Attachments
Issue Links
- duplicates
-
SERVER-17767 Remove the code that ignores EBUSY returns from verify in the WT integration layer
-
- Closed
-