Skip to content

[release-3.5] Fix progress notification for watch that doesn't get any events#17566

Merged
serathius merged 1 commit intoetcd-io:release-3.5from
serathius:progressrequest-new-watch-3.5
Mar 12, 2024
Merged

[release-3.5] Fix progress notification for watch that doesn't get any events#17566
serathius merged 1 commit intoetcd-io:release-3.5from
serathius:progressrequest-new-watch-3.5

Conversation

@serathius
Copy link
Copy Markdown
Member

When implementing the fix for progress notifications (#15237) we made a incorrect assumption that that unsynched watches will always get at least one event.

Unsynched watches include not only slow watchers, but also newly created watches that requested current or older revision. In case that non of the events match watch filter, those newly created watches might become synched without any event going through.

Backport #17557

When implementing the fix for progress notifications
(etcd-io#15237) we made a incorrect
assumption that that unsynched watches will always get at least one event.

Unsynched watches include not only slow watchers, but also newly created
watches that requested current or older revision. In case that non of the events
match watch filter, those newly created watches might become synched
without any event going through.

Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
@serathius serathius force-pushed the progressrequest-new-watch-3.5 branch from ba24ed8 to 579b22c Compare March 11, 2024 19:18
@serathius
Copy link
Copy Markdown
Member Author

cc @ahrtr

Copy link
Copy Markdown
Member

@ahrtr ahrtr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants