diff options
-rw-r--r-- | src/mongo/s/config_upgrade_v3_to_v4.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/config_upgrade_v3_to_v4.cpp b/src/mongo/s/config_upgrade_v3_to_v4.cpp index 87fd3b3be39..6b06753576b 100644 --- a/src/mongo/s/config_upgrade_v3_to_v4.cpp +++ b/src/mongo/s/config_upgrade_v3_to_v4.cpp @@ -640,8 +640,8 @@ namespace mongo { newVersionInfo.setClusterId(newClusterId); // Leave critical section - newVersionInfo.setUpgradeId(OID()); - newVersionInfo.setUpgradeState(BSONObj()); + newVersionInfo.unsetUpgradeId(); + newVersionInfo.unsetUpgradeState(); log() << "writing new version info and clusterId " << newClusterId << "..." << endl; |