Resume batching from the last noop entry even if it is less than the startApplyingDonorOpTime

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Repl 2021-03-08, Repl 2021-03-22
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, the tenant oplog batcher restarts from scratch if the last noop entry we find in the oplog is less than startApplyingDonorOpTime. SERVER-53509 will build the oplog chain for retryable writes when writing out noop entries and we do this even for oplog entries that are less than the startApplyingDonorOpTime. If we resume from the beginning, we may process those retryable writes multiple times.

              Assignee:
              Jason Chan
              Reporter:
              Lingzhi Deng
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: