diff options
author | Cheahuychou Mao <mao.cheahuychou@gmail.com> | 2023-04-10 14:16:55 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-04-10 15:25:40 +0000 |
commit | 3533badcbe1feb6ddaafbe5274df7884effc2d36 (patch) | |
tree | 349eec8ce6a662596a9345895829eef3df89971c | |
parent | 6c2987acbfe5bf785a2476283f0ae84ea7fc334f (diff) | |
download | mongo-3533badcbe1feb6ddaafbe5274df7884effc2d36.tar.gz |
SERVER-75887 Update TODO item for SERVER-70994
-rw-r--r-- | jstests/sharding/analyze_shard_key/libs/analyze_shard_key_util.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/sharding/analyze_shard_key/libs/analyze_shard_key_util.js b/jstests/sharding/analyze_shard_key/libs/analyze_shard_key_util.js index 580421e43cc..d5f14db5a8f 100644 --- a/jstests/sharding/analyze_shard_key/libs/analyze_shard_key_util.js +++ b/jstests/sharding/analyze_shard_key/libs/analyze_shard_key_util.js @@ -78,8 +78,8 @@ var AnalyzeShardKeyUtil = (function() { for (let fieldName in shardKey) { const isHashed = indexKey[fieldName] == "hashed"; const value = AnalyzeShardKeyUtil.getDottedField(doc, fieldName); - // TODO (SERVER-70994): After SERVER-72814, make sure that the analyzeShardKey command - // doesn't return hash values in the case where the supporting index is hashed. + // TODO (SERVER-75886): Make analyzeShardKey command return shard key values correctly + // when the supporting index is hashed. shardKeyValue[fieldName] = isHashed ? convertShardKeyToHashed(value) : value; } return shardKeyValue; |