summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Caplinger <christopher.caplinger@mongodb.com>2022-01-12 18:48:29 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-01-12 20:22:56 +0000
commitaa4034f56427fe2d894d12700d8126319ca8a2c3 (patch)
tree5178998e7e5caa983932fdd7707ee40ef4dc6b68
parent5fd3e8b800b43c25d92530fc1b3e0b9bbec7bf6b (diff)
downloadmongo-aa4034f56427fe2d894d12700d8126319ca8a2c3.tar.gz
SERVER-62167: Initialize _donorFilenameBackupCursorId to 0
-rw-r--r--src/mongo/db/repl/tenant_migration_recipient_service.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/tenant_migration_recipient_service.h b/src/mongo/db/repl/tenant_migration_recipient_service.h
index 39171fd2f90..577bdd6dbad 100644
--- a/src/mongo/db/repl/tenant_migration_recipient_service.h
+++ b/src/mongo/db/repl/tenant_migration_recipient_service.h
@@ -578,7 +578,7 @@ public:
std::unique_ptr<DBClientConnection> _client; // (S)
std::unique_ptr<DBClientConnection> _oplogFetcherClient; // (S)
- CursorId _donorFilenameBackupCursorId; // (M)
+ CursorId _donorFilenameBackupCursorId = 0; // (M)
NamespaceString _donorFilenameBackupCursorNamespaceString; // (M)
std::unique_ptr<Fetcher> _donorFilenameBackupCursorFileFetcher; // (M)