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

Remove Bad Invariant in RetryUntilMajorityCommit

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

      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.

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

              Created:
              Updated:
              Resolved: