summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/collection_sharding_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/collection_sharding_state.h')
-rw-r--r--src/mongo/db/s/collection_sharding_state.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/s/collection_sharding_state.h b/src/mongo/db/s/collection_sharding_state.h
index 7684847cfbc..575ccb85f2f 100644
--- a/src/mongo/db/s/collection_sharding_state.h
+++ b/src/mongo/db/s/collection_sharding_state.h
@@ -98,7 +98,7 @@ public:
/**
* If the shard currently doesn't know whether the collection is sharded or not, it will throw a
- * StaleConfig error.
+ * StaleConfig exception.
*
* If the request doesn't have a shard version all collections will be treated as UNSHARDED.
*
@@ -112,7 +112,7 @@ public:
*
* If the shard currently doesn't know whether the collection is sharded or not, or if the
* expected shard version doesn't match with the one in the OperationShardingState, it will
- * throw a StaleConfig error.
+ * throw a StaleConfig exception.
*
* If the operation context contains an 'atClusterTime', the returned filtering object will be
* tied to a specific point in time. Otherwise, it will reference the latest cluster time
@@ -143,7 +143,7 @@ public:
/**
* Checks whether the shard version in the operation context is compatible with the shard
- * version of the collection and if not, throws StaleConfig error populated with the received
+ * version of the collection and if not, throws StaleConfigException populated with the received
* and wanted versions.
*
* If the request is not versioned all collections will be treated as UNSHARDED.