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

Improve "replSet too much data to roll back" to include reason for "too much data" limit

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication

      There are two methods used for rollback:
      1. "Rollback to Timestamp" (default)
      2. "Rollback-via-Refetch" - used when "enableMajorityReadConcern=false"

      Under condition #1 the 300MB rollback limit is no longer enforced post-4.0. But under condition #2, the limit is still enforced, and users can still get the following assertions:

      2020-05-03T00:11:01.079Z F -        [rsBackgroundSync] Fatal Assertion 40507 at src/mongo/db/repl/rs_rollback.cpp 1515
      2020-05-03T00:11:01.079Z F ROLLBACK [rsBackgroundSync] Unable to complete rollback. A full resync may be needed: UnrecoverableRollbackError: replSet too much data to roll back.
      

      It would be helpful to include the information that the rollback limit was enforced because "enableMajorityReadConcern=false".

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            eric.sommer@mongodb.com Eric Sommer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: