-
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.
It has been observed in the wild, that rangefeeds (and changefeeds that use them) would appear to be stuck and not make any progress. It has been determined that, for reasons yet unknown, the RangeFeed RPC stops receiving events from the server, even though the contract indicates that such events should always come in since events also include range checkpoint records that should always be emitted periodically. This PR introduces a defense at depth mechanism to client side range feed library so that ranges that appear to be stuck are restarted automatically. Release justification: stability improvement. Release note (enterprise change): Rangefeed client library (used by changefeeds among other things) is more resilient to rangefeed RPC appearing to be stuck by restarting stuck rangefeeds automatically.
- Loading branch information
Yevgeniy Miretskiy
committed
Aug 25, 2022
1 parent
07cb344
commit 3b78592
Showing
2 changed files
with
185 additions
and
20 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