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

Remove Bad Invariant in RetryUntilMajorityCommit

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • ALL
    • v7.2
    • Cluster Scalability 2023-11-13
    • 0

    Description

      RetryUntilMajorityCommit invariants that its CancelToken is not yet cancelled when trying to create its retry helpers. Not only is it technically fine for the token to begin cancelled, it is very possible for this to be the case under expected use, if the PrimaryOnlyService steps down after calling run(), but before initializing the retry helper.

      Attachments

        Activity

          People

            brett.nawrocki@mongodb.com Brett Nawrocki
            brett.nawrocki@mongodb.com Brett Nawrocki
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: