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

add recover in WatchSrvVSchema and GetSrvKeyspaceNames #6051

Merged
merged 1 commit into from
Apr 12, 2020
Merged

add recover in WatchSrvVSchema and GetSrvKeyspaceNames #6051

merged 1 commit into from
Apr 12, 2020

Conversation

xhh1989
Copy link
Contributor

@xhh1989 xhh1989 commented Apr 11, 2020

The process of watch vschema adds Recover process. Because the watch is a little complicated and there will be callback . If the go routine panic caused by a invalid vschema data or other problems, then all vtgates may receive the same vschema and all vtgate will panic at the same time, which will be a disaster.

Signed-off-by: xuhaihua <xuhaihua@jd.com>
@xhh1989 xhh1989 requested a review from sougou as a code owner April 11, 2020 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants