diff options
author | Lingzhi Deng <lingzhi.deng@mongodb.com> | 2021-12-17 19:29:49 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-12-17 20:13:30 +0000 |
commit | 26b17741ec55ffe4cec93e29fec83f330a3cdccc (patch) | |
tree | cf9fea7dddae71d976f7feea836480e0524759a0 /src/mongo/db/repl | |
parent | 2c91d33874d9faf6140169efa54271480e42e6b2 (diff) | |
download | mongo-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.cpp | 4 |
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; }; /** |