-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: manual
-
Labels:None
We previously introduced a new $toHashedIndexKey expression via SERVER-49214 but it looks like we did not document it. We should do so as there are use cases for it and there is lack of awareness about the existing expression.
Description of Linked Ticket
When verifying clusters for logical consistency as part of the verifier project, we can speed the process up by computing hashes server-side instead of transferring full documents over the network to the verifier process and computing the hashes there. Verification speed matters, as it's on the critical path for reducing downtime for MongoDB migrations.
One potential option could be to introduce a new operator in the aggregation pipeline.
- documents
-
SERVER-69128 Server-side document hashing
- Closed
- is related to
-
MONGOSH-1050 convertShardKeyToHashed() shall be supported by mongosh
- Closed
-
SERVER-49214 Add $toHashedIndexKey expression
- Closed