Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-78435

Scan in record id order for dbHash

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Storage Execution
    • Execution Team 2024-02-19

    Description

      If a collection has replicated record ids, dbHash can scan in record id order rather than _id order. dbHash currently scans in _id order. For recordIdReplicated:true collections, we can go in natural order, as we already do for clustered collections.

      Additionally, we should include each recordId when computing the hash, to make sure that the recordIds are indeed replicated.

      In this ticket we need to handle just dbHash, not dbCheck.

      This will also help with SERVER-86167 because then our tests can rely on dbHash for correctness.

      Attachments

        Activity

          People

            haley.connelly@mongodb.com Haley Connelly
            gregory.noma@mongodb.com Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: