Skip to content

Commit a2fa801

Browse files
author
Misha Tyulenev
committed
SERVER-42654 add TODO to the place to change FCV
1 parent edd215f commit a2fa801

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/mongo/db/s/config/sharding_catalog_manager_add_shard_test.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ class AddShardTest : public ConfigServerTestFixture {
138138
});
139139
}
140140

141+
// TODO: SERVER-42654
141142
void expectSetFeatureCompatibilityVersion(const HostAndPort& target,
142143
StatusWith<BSONObj> response,
143144
BSONObj writeConcern) {

src/mongo/db/s/sharding_state_recovery.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,6 @@ Status modifyRecoveryDocument(OperationContext* opCtx,
148148
autoGetOrCreateDb.emplace(
149149
opCtx, NamespaceString::kServerConfigurationNamespace.db(), MODE_X);
150150

151-
// The config server connection string and shard name are no longer parsed in 4.0, but 3.6
152-
// nodes still expect to find them, so we must include them until after 4.0 ships.
153151
auto const grid = Grid::get(opCtx);
154152
BSONObj updateObj = RecoveryDocument::createChangeObj(grid->configOpTime(), change);
155153

0 commit comments

Comments
 (0)