Details
Description
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.