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

Exhaust cursor doesn't update lastKnownCommittedOpTime on 4.2

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

      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@mongodb.com Lingzhi Deng
            Reporter:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: