summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/document_source_analyze_shard_key_read_write_distribution.idl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/document_source_analyze_shard_key_read_write_distribution.idl')
-rw-r--r--src/mongo/db/s/document_source_analyze_shard_key_read_write_distribution.idl5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/s/document_source_analyze_shard_key_read_write_distribution.idl b/src/mongo/db/s/document_source_analyze_shard_key_read_write_distribution.idl
index 3a41239c348..84ba8129dd4 100644
--- a/src/mongo/db/s/document_source_analyze_shard_key_read_write_distribution.idl
+++ b/src/mongo/db/s/document_source_analyze_shard_key_read_write_distribution.idl
@@ -40,22 +40,27 @@ structs:
DocumentSourceAnalyzeShardKeyReadWriteDistributionSpec:
description: Specification for a $_analyzeShardKeyReadWriteDistribution stage.
strict: false
+ query_shape_component: true
fields:
key:
description: The shard key to evaluate.
type: KeyPattern
+ query_shape: custom
validator:
callback: validateShardKeyPattern
splitPointsFilter:
+ query_shape: literal
description: The filter to use to fetch the split point documents generated by the command
running this aggregation stage.
type: object_owned
splitPointsAfterClusterTime:
+ query_shape: literal
description: The afterClusterTime to use when fetching the split point documents. This must
be greater or equal to the timestamp at which the insert for the last split
point document occurred.
type: timestamp
splitPointsShardId:
+ query_shape: anonymize
description: The id of the shard that the analyzeShardKey command is running on, and
therefore contains the temporary collection storing the split points for the
shard key. Only set when running on a sharded cluster.