Replace invariant with tassert in awaitReplication

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0, 8.0.5
    • Affects Version/s: None
    • Component/s: None
    • Replication
    • Fully Compatible
    • v8.0
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Inside ReplicationCoordinatorImpl we currently invariant if we're going to deadlock the server.

      However, this operation is quite aggressive and can cause general unavailability issues in case we find a problem. invariants should be reserved for dangerous unrecoverable situations and as such we should strive to replace them with tasserts if possible.

              Assignee:
              Huayu Ouyang
              Reporter:
              Jordi Olivares Provencio
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: