summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/config/sharding_catalog_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/config/sharding_catalog_manager.h')
-rw-r--r--src/mongo/db/s/config/sharding_catalog_manager.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/mongo/db/s/config/sharding_catalog_manager.h b/src/mongo/db/s/config/sharding_catalog_manager.h
index b2f8b278165..0a257d4274f 100644
--- a/src/mongo/db/s/config/sharding_catalog_manager.h
+++ b/src/mongo/db/s/config/sharding_catalog_manager.h
@@ -434,17 +434,15 @@ public:
/**
* Upgrade the chunk metadata to include the history field.
*/
- Status upgradeChunksHistory(OperationContext* opCtx,
- const NamespaceString& nss,
- const OID& collectionEpoch,
- const Timestamp validAfter);
+ void upgradeChunksHistory(OperationContext* opCtx,
+ const NamespaceString& nss,
+ const OID& collectionEpoch,
+ const Timestamp validAfter);
/**
* Remove the history field from the chunk metadata.
*/
- Status downgradeChunksHistory(OperationContext* opCtx,
- const NamespaceString& nss,
- const OID& collectionEpoch);
+ void downgradeChunksHistory(OperationContext* opCtx, const NamespaceString& nss);
private:
/**