diff options
Diffstat (limited to 'src/mongo/db/s/shard_metadata_util.h')
-rw-r--r-- | src/mongo/db/s/shard_metadata_util.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/db/s/shard_metadata_util.h b/src/mongo/db/s/shard_metadata_util.h index f863e406941..376b29eca56 100644 --- a/src/mongo/db/s/shard_metadata_util.h +++ b/src/mongo/db/s/shard_metadata_util.h @@ -221,6 +221,12 @@ void dropChunks(OperationContext* opCtx, const NamespaceString& nss); */ Status deleteDatabasesEntry(OperationContext* opCtx, StringData dbName); +/** + * Downgrades the config.cache.databases entries to prior 4.9 version. More specifically, it removes + * the 'version.timestamp' field from all the documents in config.cache.databases. + * + */ +void downgradeShardConfigDatabasesEntriesToPre49(OperationContext* opCtx); /** * Downgrades the config.cache.collections entries to prior 4.9 version. More specifically, it |