Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-15574

[SERVER] Investigate changes in SERVER-69128: Server-side document hashing

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • Affects Version/s: None
    • Component/s: manual
    • Labels:

      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.

            joseph.dougherty@mongodb.com Joseph Dougherty
            backlog-server-pm Backlog - Core Eng Program Management Team
            0 Vote for this issue
            4 Start watching this issue

              1 year, 12 weeks, 1 day ago