summaryrefslogtreecommitdiff
path: root/src/mongo/s/request_types/sharded_ddl_commands.idl
diff options
context:
space:
mode:
authorPol Pinol Castuera <pol.pinol@mongodb.com>2023-01-18 08:23:53 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-01-18 09:01:34 +0000
commit42055346e581d4aa71f17ead1d7e55721a1602d3 (patch)
treedd424385021dc8ece2aa5dff7bebd587405687b8 /src/mongo/s/request_types/sharded_ddl_commands.idl
parenta90fbff8489b1ecd9872f63136ea1bd938ca1361 (diff)
downloadmongo-42055346e581d4aa71f17ead1d7e55721a1602d3.tar.gz
SERVER-71823 Introduce new checkMetadataConsistency command
Diffstat (limited to 'src/mongo/s/request_types/sharded_ddl_commands.idl')
-rw-r--r--src/mongo/s/request_types/sharded_ddl_commands.idl24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/mongo/s/request_types/sharded_ddl_commands.idl b/src/mongo/s/request_types/sharded_ddl_commands.idl
index 024ba2b31cd..5e00cf4aecc 100644
--- a/src/mongo/s/request_types/sharded_ddl_commands.idl
+++ b/src/mongo/s/request_types/sharded_ddl_commands.idl
@@ -45,6 +45,7 @@ imports:
- "mongo/s/sharding_types.idl"
- "mongo/s/resharding/common_types.idl"
- "mongo/db/timeseries/timeseries.idl"
+ - "mongo/db/metadata_consistency_types.idl"
types:
CollectionType:
@@ -520,6 +521,29 @@ commands:
type: timestamp
description: "Time that will be associated with the cluster parameter"
+ _shardsvrCheckMetadataConsistency:
+ description: "Internal command sent to the primary shard of a database to check metadata
+ consistency."
+ command_name: _shardsvrCheckMetadataConsistency
+ cpp_name: ShardsvrCheckMetadataConsistency
+ namespace: concatenate_with_db
+ allow_global_collection_name: true
+ api_version: ""
+ reply_type: CheckMetadataConsistencyResponse
+
+ _shardsvrCheckMetadataConsistencyParticipant:
+ description: "Internal command sent to participants shards to check metadata consistency."
+ command_name: _shardsvrCheckMetadataConsistencyParticipant
+ cpp_name: ShardsvrCheckMetadataConsistencyParticipant
+ namespace: concatenate_with_db
+ allow_global_collection_name: true
+ api_version: ""
+ reply_type: CheckMetadataConsistencyResponse
+ fields:
+ primaryShardId:
+ description: "The shard id of the db primary shard"
+ type: shard_id
+
_configsvrSetClusterParameter:
command_name: _configsvrSetClusterParameter
cpp_name: ConfigsvrSetClusterParameter