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

Watch chan fails with "client connection closing" under stress test #6503

Closed
hongchaodeng opened this issue Sep 22, 2016 · 2 comments
Closed
Labels
Milestone

Comments

@hongchaodeng
Copy link
Contributor

hongchaodeng commented Sep 22, 2016

After #6476 is fixed, rerunning the stress test for a long time (~1h) still gives out error:

rpc error: code = 9 desc = grpc: the client connection is closing

This is from the watch chan err response:

        for resp := range wch {
                if resp.Err() != nil {
                    t.Fatal(resp.Err())
                }
        ...

Script to keep test running:

while [ 1 ] ; do
  go test -v ./etcdbench -count 20 || break
done
@hongchaodeng
Copy link
Contributor Author

cc @xiang90 @heyitsanthony

@heyitsanthony
Copy link
Contributor

I added clus.Members[0].DropConnections() after the Watch in TestWatchOverlapContextCancel to stress the reconnect path with ctx cancelation and got unexpected closed channels. Probably related.

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

No branches or pull requests

3 participants