diff options
Diffstat (limited to 'src/mongo/db/s/shard_filtering_metadata_refresh.h')
-rw-r--r-- | src/mongo/db/s/shard_filtering_metadata_refresh.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/s/shard_filtering_metadata_refresh.h b/src/mongo/db/s/shard_filtering_metadata_refresh.h index 8ebec832d75..1c48039c482 100644 --- a/src/mongo/db/s/shard_filtering_metadata_refresh.h +++ b/src/mongo/db/s/shard_filtering_metadata_refresh.h @@ -68,7 +68,7 @@ void onShardVersionMismatch(OperationContext* opCtx, * recover any ongoing migrations if runRecover is true. */ SharedSemiFuture<void> recoverRefreshShardVersion(ServiceContext* serviceContext, - const NamespaceString nss, + NamespaceString nss, bool runRecover); /** @@ -97,11 +97,11 @@ ChunkVersion forceShardFilteringMetadataRefresh(OperationContext* opCtx, */ Status onDbVersionMismatchNoExcept( OperationContext* opCtx, - const StringData dbName, + StringData dbName, const DatabaseVersion& clientDbVersion, const boost::optional<DatabaseVersion>& serverDbVersion) noexcept; -void forceDatabaseRefresh(OperationContext* opCtx, const StringData dbName); +void forceDatabaseRefresh(OperationContext* opCtx, StringData dbName); /** * RAII-style class that enters the migration critical section and refresh the filtering |