CheckReplDbHashInBackground uses snapshot read concern for dbhash but not for dumping oplog

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In the CheckReplDbHashInBackground hook, we calculate the hash using sessions that use snapshot read concern. If there is a diff in the hashes, we end up dumping the oplog. However, when dumping the oplog we use just a find with no read concern.

      This seems confusing for debugging since the oplog contents may not reflect the time that the hash was taken.

            Assignee:
            Unassigned
            Reporter:
            Huayu Ouyang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: