-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
103049: rangefeed: when processor is stopped send errors to client r=miretsky a=aliher1911 Previously when processor was stopped after feeds are closed it would try to close all existing client feeds with nil error. This should never happen as processor would always stop with a reason if feeds are active. This PR adds a new error code that would be returned by `MuxRangeFeed` whenever underlying RangeFeed finishes cleanly and returns `REASON_RANGEFEED_CLOSED` instead of nil. This will cause client side feed to retry if necessary. Release note: None Fixes #101330 Co-authored-by: Oleg Afanasyev <[email protected]>
- Loading branch information
Showing
3 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters