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

ReshardingDonor should not try to set the stop time of the critical section if it the critical section was already released

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.3, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v5.0
    • Sharding 2021-08-09
    • 160
    • 1

      If the donor gets a transient error after releasing the critical section (and setting stop on critical section time interval in the resharding metrics) it will try to set the stop time again on the retry. We should check whether the critical section was actually released and only set the end time if it was.

            Assignee:
            haley.connelly@mongodb.com Haley Connelly
            Reporter:
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: