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

Rollback can time out if oplog entries are large

    • Fully Compatible
    • ALL
    • v3.6, v3.4
    • Repl 2018-05-21

      During rollback we query the remote oplog, fetching only a couple of small fields from each oplog entry, and we return up to 16 MB per batch, or about 600 k entries. This requires reading up to 600 k entire oplog entries on the remote end, and if the oplog entries are large and not in cache this can be a very substantial amount of data to be read from disk (tens or hundreds of GB), and may require more than the hard-coded 10-minute timeout to complete. In this case the rollback times out and cannot complete.

            Assignee:
            judah.schvimer@mongodb.com Judah Schvimer
            Reporter:
            bruce.lucas@mongodb.com Bruce Lucas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: