-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
fix(ServeTask): Return error if server is not ready #6019
Conversation
The grpcWorker.ServeTask function is called when a request is received over the network (sent by a peer). This function doesn't consider the health of the node before starting the processing of the request. If we process a request before the node is ready, we might end up seeing crashes similar to https://dgraph.atlassian.net/browse/DGRAPH-1934
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r1.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @manishrjain and @vvbalaji-dgraph)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be good to mention in the commit how you found it(jepsen test, nemesis).
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @manishrjain and @vvbalaji-dgraph)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @manishrjain and @vvbalaji-dgraph)
The grpcWorker.ServeTask function is called when a request is received over the network (sent by a peer). This function doesn't consider the health of the node before starting the processing of the request. If we process a request before the node is ready, we might end up seeing crashes similar to https://dgraph.atlassian.net/browse/DGRAPH-1934 Fixes DGRAPH-1934 This bug was seen when running jepsen bank test with kill-alpha and kill-zero nemesis. (cherry picked from commit 9293c97)
The grpcWorker.ServeTask function is called when a request is received over the network (sent by a peer). This function doesn't consider the health of the node before starting the processing of the request. If we process a request before the node is ready, we might end up seeing crashes similar to https://dgraph.atlassian.net/browse/DGRAPH-1934 Fixes DGRAPH-1934 This bug was seen when running jepsen bank test with kill-alpha and kill-zero nemesis. (cherry picked from commit 9293c97)
The grpcWorker.ServeTask function is called when a request is received over the network (sent by a peer). This function doesn't consider the health of the node before starting the processing of the request. If we process a request before the node is ready, we might end up seeing crashes similar to https://dgraph.atlassian.net/browse/DGRAPH-1934 Fixes DGRAPH-1934 This bug was seen when running jepsen bank test with kill-alpha and kill-zero nemesis. (cherry picked from commit 9293c97)
The grpcWorker.ServeTask function is called when a request is received over the network (sent by a peer). This function doesn't consider the health of the node before starting the processing of the request. If we process a request before the node is ready, we might end up seeing crashes similar to https://dgraph.atlassian.net/browse/DGRAPH-1934 Fixes DGRAPH-1934 This bug was seen when running jepsen bank test with kill-alpha and kill-zero nemesis. (cherry picked from commit 9293c97)
The grpcWorker.ServeTask function is called when a request is received over the network (sent by a peer). This function doesn't consider the health of the node before starting the processing of the request. If we process a request before the node is ready, we might end up seeing crashes similar to https://dgraph.atlassian.net/browse/DGRAPH-1934 Fixes DGRAPH-1934 This bug was seen when running jepsen bank test with kill-alpha and kill-zero nemesis. (cherry picked from commit 9293c97)
The grpcWorker.ServeTask function is called when a request is received over the network (sent by a peer). This function doesn't consider the health of the node before starting the processing of the request. If we process a request before the node is ready, we might end up seeing crashes similar to https://dgraph.atlassian.net/browse/DGRAPH-1934 Fixes DGRAPH-1934 This bug was seen when running jepsen bank test with kill-alpha and kill-zero nemesis. (cherry picked from commit 9293c97)
The grpcWorker.ServeTask function is called when a request is received over the network (sent by a peer). This function doesn't consider the health of the node before starting the processing of the request. If we process a request before the node is ready, we might end up seeing crashes similar to https://dgraph.atlassian.net/browse/DGRAPH-1934 Fixes DGRAPH-1934 This bug was seen when running jepsen bank test with kill-alpha and kill-zero nemesis.
The grpcWorker.ServeTask function is called when a request is received
over the network (sent by a peer). This function doesn't consider the
health of the node before starting the processing of the request. If we
process a request before the node is ready, we might end up seeing
crashes similar to https://dgraph.atlassian.net/browse/DGRAPH-1934
Fixes DGRAPH-1934
I ran jepsen bank test with all nemesis and don't see any panics
This change is