[DOCS-15574] [SERVER] Investigate changes in SERVER-69128: Server-side document hashing Created: 26/Aug/22  Updated: 30/Oct/23  Due: 09/Oct/23  Resolved: 09/Oct/23

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Joseph Dougherty
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-69128 Server-side document hashing Closed
Related
is related to MONGOSH-1050 convertShardKeyToHashed() shall be su... Closed
is related to SERVER-49214 Add $toHashedIndexKey expression Closed
Participants:
Days since reply: 1 year, 10 weeks ago
Epic Link: DOCSP-1769

 Description   
Original Downstream Change Summary

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.



 Comments   
Comment by Joseph Dougherty [ 30/Nov/22 ]

This issue is solved by https://jira.mongodb.org/browse/MONGOSH-1050. This helper method is already documented here: https://www.mongodb.com/docs/manual/reference/method/convertShardKeyToHashed/

Generated at Thu Feb 08 08:13:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.