Exhaust cursor doesn't update lastKnownCommittedOpTime on 4.2

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.4.0-rc9
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2020-06-15
    • 11
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      When syncing from 4.4, the exhaust cursors update lastKnownCommittedOpTime after sending out a batch so that it will wait for new data in the next round of getMore. However, we don't have that on 4.2 branch. So lastKnownCommittedOpTime stays stale and because of commit point propagation, a 4.2 sync source keeps sending out empty batches to 4.4 syncing nodes.

            Assignee:
            Lingzhi Deng
            Reporter:
            Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: