summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/shard_server_catalog_cache_loader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/shard_server_catalog_cache_loader.h')
-rw-r--r--src/mongo/db/s/shard_server_catalog_cache_loader.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mongo/db/s/shard_server_catalog_cache_loader.h b/src/mongo/db/s/shard_server_catalog_cache_loader.h
index 62abc9802e4..c578217a3d5 100644
--- a/src/mongo/db/s/shard_server_catalog_cache_loader.h
+++ b/src/mongo/db/s/shard_server_catalog_cache_loader.h
@@ -430,13 +430,13 @@ private:
*
* Only run on the shard primary.
*/
- Status _ensureMajorityPrimaryAndScheduleCollAndChunksTask(OperationContext* opCtx,
- const NamespaceString& nss,
- collAndChunkTask task);
+ void _ensureMajorityPrimaryAndScheduleCollAndChunksTask(OperationContext* opCtx,
+ const NamespaceString& nss,
+ collAndChunkTask task);
- Status _ensureMajorityPrimaryAndScheduleDbTask(OperationContext* opCtx,
- StringData dbName,
- DBTask task);
+ void _ensureMajorityPrimaryAndScheduleDbTask(OperationContext* opCtx,
+ StringData dbName,
+ DBTask task);
/**
* Schedules tasks in the 'nss' task list to execute until the task list is depleted.
*