Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Cancelling a peer recovery on the source can leak a primary permit #30318
The code in
Note that this is slightly better than it sounds - we only cancel recoveries on the source side if the primary shard itself is closed.
Relates to #30316
@ywelsch it's good question - the path I found isn't really (as the primary shard is being shutdown anyway) but since it's a disaster waiting to happen and super tricky to debug, I want it in. I don't think it will slow down anything because we'll be respining due to #30316