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

Make it more obvious that retryIdempotentWorkUntilSuccess will stop retrying if the node has stepped down

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.0-rc0, 4.7.0
    • Affects Version/s: 4.3.4
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v4.4
    • Sharding 2020-03-23, Sharding 2020-04-06

      Otherwise, if the node stepped down and term was updated just before the term was saved, the operation will keep getting retried even while the node is secondary, until the node becomes primary again (which may never happen).

      This is particularly painful because a warning message will keep being logged.

            Assignee:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Reporter:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: