ExportXMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When a chunk migration moves a collection away from a shard and back, the collection is dropped and recreated with the same UUID. The replayed oplog delta is correctly reset to the empty-collection hash and marked kDroppedAndRecreated, and the checkpoint flush correctly  ignores the stale persisted entry for that state. However, _expectedCollectionHash in collection_validation.cpp combines the persisted hash with the delta without  checking the delta's state. If validate({collHash: true}) runs before the next flush, the expected hash is persisted(old incarnation) XOR delta(new incarnation), and validate reports hashComparison: "mismatched" and logs 13397000 for a healthy collection.

            Assignee:
            Unassigned
            Reporter:
            Stephanie Eristoff
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: