mirror of https://github.com/facebook/rocksdb.git
wal_read_status check in RecoverLogFiles (#12460)
Summary: Fixing the not-checked status failure as in https://github.com/facebook/rocksdb/actions/runs/8334988399/job/22809612148. When the status is not ok() for any reason, we do not check the `wal_read_status` because it's not necessary. It's causing the test failure when running with `ASSERT_STATUS_CHECKED=1` Pull Request resolved: https://github.com/facebook/rocksdb/pull/12460 Test Plan: Existing tests Reviewed By: ajkr Differential Revision: D55104844 Pulled By: jaykorean fbshipit-source-id: 919b1fddca835494f9087c51c4da6eabc9e8df2b
This commit is contained in:
parent
6ddfa5f061
commit
3f3f4660bd
|
@ -327,6 +327,7 @@ Status DBImplSecondary::RecoverLogFiles(
|
|||
status = *wal_read_status;
|
||||
}
|
||||
if (!status.ok()) {
|
||||
wal_read_status->PermitUncheckedError();
|
||||
return status;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue