summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl
diff options
context:
space:
mode:
authorLingzhi Deng <lingzhi.deng@mongodb.com>2021-12-17 19:29:49 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-12-17 20:13:30 +0000
commit26b17741ec55ffe4cec93e29fec83f330a3cdccc (patch)
treecf9fea7dddae71d976f7feea836480e0524759a0 /src/mongo/db/repl
parent2c91d33874d9faf6140169efa54271480e42e6b2 (diff)
downloadmongo-26b17741ec55ffe4cec93e29fec83f330a3cdccc.tar.gz
SERVER-61000: Fix uninitialized field in ReplicationRecoveryTest
Diffstat (limited to 'src/mongo/db/repl')
-rw-r--r--src/mongo/db/repl/replication_recovery_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/repl/replication_recovery_test.cpp b/src/mongo/db/repl/replication_recovery_test.cpp
index f6ba2e80d4d..ae994aeb9fd 100644
--- a/src/mongo/db/repl/replication_recovery_test.cpp
+++ b/src/mongo/db/repl/replication_recovery_test.cpp
@@ -228,9 +228,9 @@ private:
}
ServiceContext::UniqueOperationContext _opCtx;
- StorageInterfaceRecovery* _storageInterface;
+ StorageInterfaceRecovery* _storageInterface = nullptr;
std::unique_ptr<ReplicationConsistencyMarkersMock> _consistencyMarkers;
- bool _stashedEnableMajorityReadConcern;
+ bool _stashedEnableMajorityReadConcern = false;
};
/**