fix: prevent lost-and-found subscription race during retry backoff
SO
5d ago+227+227+012345678901234567890123456789-17-17-01234567890123456789
All Submissions:
- Have you followed the guidelines stated in the CONTRIBUTING.md file?
- Have you checked to ensure there aren't any other open Pull Requests for the desired change?
Type of change
Please delete options that are not relevant.
- Bug fix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality)
- Breaking change (fix or feature that would cause existing functionality to not work as expected)
- This change requires a documentation update
New Feature Submission:
- Does your submission pass the tests?
- Have you linted your code locally before submission?
Changes To Core Features:
- Have you added an explanation of what your changes do and why you'd like us to include them?
- Have you written new tests for your core changes, as applicable?
- Have you successfully run tests with your changes locally?
Closes #7845
Fix Redis lost-and-found subscription race during retry backoff by tracking subscription attempt state, resetting readiness deadlines between retries, and notifying waiting callers when subscription state changes. Add a deterministic regression test to ensure concurrent connections wait until Redis confirms the retried subscription, and include a bug-fix news fragment.