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

Run reverse lookup for extra index keys in dbCheck

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Replication
    • Fully Compatible
    • Repl 2023-08-07, Repl 2023-08-21, Repl 2023-09-04
    • 2

      Reverse lookup is executed on only the primary.

      In reverse lookup, the primary iterates through index table at a given start point until it hits a batch boundary. For each index key traversed in batch:

      • Perform a lookup for the record that the index key points to
      • If we do not find the record, report the inconsistency to the health log
      • Add the size of the index key plus the document to the total count of bytes. If we have exceeded a speed parameter, complete the batch and return

            Assignee:
            huayu.ouyang@mongodb.com Huayu Ouyang
            Reporter:
            xuerui.fa@mongodb.com Xuerui Fa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: