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

Exhaust cursor doesn't update lastKnownCommittedOpTime on 4.2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.0-rc9
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Repl 2020-06-15
    • Linked BF Score:
      11

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            lingzhi.deng Lingzhi Deng
            Reporter:
            siyuan.zhou Siyuan Zhou
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: