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

Consider changing invariants while finding common point for rollback to be fasserts

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Replication
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We currently have a series of invariants to double check that the common point found during rollback makes sense in relation to other timestamps that we maintain in the system (like the stable timestamp and the commit point). However, we've seen situations in the past where these invariants trigger not due to a programmer error, but because of the way someone has made changes to the replica set (like not following proper procedure during a restore) that has put the set in a bad state. I suspect an fassert would be more fitting here.

            Assignee:
            Unassigned Unassigned
            Reporter:
            samy.lanka@mongodb.com Samyukta Lanka
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None