Run reverse lookup for extra index keys in dbCheck

XMLWordPrintableJSON

    • Replication
    • Fully Compatible
    • v7.0, v6.0
    • Repl 2023-08-07, Repl 2023-08-21, Repl 2023-09-04
    • 2
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Xuerui Fa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: