diff options
| author | Yu Jin Kang Park <yujin.kang@mongodb.com> | 2022-06-15 13:19:49 +0000 |
|---|---|---|
| committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-07-06 12:17:47 +0000 |
| commit | 574d60b493f71e6433a784dc3a2a8fd3fed171a1 (patch) | |
| tree | 0ec8447e2cf81fa33f7729f779afe649ab0f344f /src/mongo/db/repl/oplog_applier_impl.cpp | |
| parent | 02dfedb849374159219251422ada6035333e2c3b (diff) | |
| download | mongo-574d60b493f71e6433a784dc3a2a8fd3fed171a1.tar.gz | |
SERVER-55208: Remove nojournal,duroff and evergreen variant
Diffstat (limited to 'src/mongo/db/repl/oplog_applier_impl.cpp')
| -rw-r--r-- | src/mongo/db/repl/oplog_applier_impl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/repl/oplog_applier_impl.cpp b/src/mongo/db/repl/oplog_applier_impl.cpp index d897241134b..5eed8504f83 100644 --- a/src/mongo/db/repl/oplog_applier_impl.cpp +++ b/src/mongo/db/repl/oplog_applier_impl.cpp @@ -262,9 +262,9 @@ void OplogApplierImpl::_run(OplogBuffer* oplogBuffer) { invariant(!_replCoord->getMemberState().arbiter()); std::unique_ptr<ApplyBatchFinalizer> finalizer{ - getGlobalServiceContext()->getStorageEngine()->isDurable() - ? new ApplyBatchFinalizerForJournal(_replCoord) - : new ApplyBatchFinalizer(_replCoord)}; + getGlobalServiceContext()->getStorageEngine()->isEphemeral() + ? new ApplyBatchFinalizer(_replCoord) + : new ApplyBatchFinalizerForJournal(_replCoord)}; while (true) { // Exits on message from OplogBatcher. // Use a new operation context each iteration, as otherwise we may appear to use a single |
