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

Fassert 50806 should be an Invariant on 4.2 and later

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None
    • Replication
    • ALL

    Description

      The comment says that this should never happen, so I would suggest that we make it an invariant: https://github.com/mongodb/mongo/blob/e09ce369e4912a945454a5494248046535c70460/src/mongo/db/repl/replication_recovery.cpp#L244-L251

       

      I believe that this fassert used to be expected to be hit in MongoDB 4.0, but not in 4.2 and later. Let me know if the fassert isn't expected to be hit in 4.0 as well and I'll file another bug report

       

      Here is the fassert in 4.0: https://github.com/mongodb/mongo/blob/6156b718630344212bea269a28ed5bacf96a9b86/src/mongo/db/repl/replication_coordinator_impl.cpp#L789

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            kelsey.schubert@mongodb.com Kelsey Schubert
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: