Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

srvtopo: allow unwatching from watch callbacks #8633

Merged
merged 4 commits into from
Aug 19, 2021

Conversation

harshit-gangal
Copy link
Member

@harshit-gangal harshit-gangal commented Aug 16, 2021

Description

From @vmg:
"Here's a feature I forgot to implement in my previous PR. We're gonna need to stop watching specific keyspaces once we detect their cluster event is finished."

cc @deepthi @harshit-gangal @rohit-nayak-ps

Related Issue(s)

#8462

Checklist

  • Should this PR be backported?
  • Tests were added or are not required
  • Documentation was added or is not required

Deployment Notes

@harshit-gangal
Copy link
Member Author

harshit-gangal commented Aug 16, 2021

Recreated the PR from #8594 as that PR was created on a personal fork and there I do not have permission to push changes to trigger CI tests.

@harshit-gangal harshit-gangal added Component: Cluster management Type: Enhancement Logical improvement (somewhere between a bug and feature) labels Aug 16, 2021
@harshit-gangal harshit-gangal requested review from deepthi and removed request for rafael and shlomi-noach August 16, 2021 19:43
@deepthi
Copy link
Member

deepthi commented Aug 17, 2021

My comment is the same as before - we need an example of how to use the callback to unwatch.
Please let me know if I'm missing that in my reading of the code.
It is acceptable if that is coming in a future PR.

@deepthi deepthi merged commit 441d4bd into vitessio:main Aug 19, 2021
@deepthi deepthi deleted the srvtopo-unwatch branch August 19, 2021 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Cluster management Type: Enhancement Logical improvement (somewhere between a bug and feature)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants