-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
sqlproxyccl: potential deadlock in TestDirectoryServer
#71365
Comments
@darinpp Pinging for visibility, since you show up in |
cc @cockroachdb/cdc |
Do we see CDC in here somewhere? |
Moving off of the CDC backlog for now, as it doesn't seem relevant to our team. Please add it back if we're wrong. |
definitely not CDC. @jaylim-crl is this issue still relevant? Can we close it? |
It is still relevant, but the tests have been skipped. We are aware that the TestDirectoryServer needs to be rewritten. I don't like the idea of calling out to the CRDB executable to start up tenant servers as well. Closing this for now. The issue will still be around for future reference. |
Fixes cockroachdb#76839 and cockroachdb#71365. This commit rewrites the test to use the static directory server instead of the dynamic one. The old one is susceptible to GRPC port reuse and deadlock issues. With this change, only directory_cache_test.go is relying on the dynamic directory server. Once we rewrite that, we can remove the entire test directory implementation. Release note: None
101864: ccl/sqlproxyccl: fixes flake on TestDirectoryConnect r=JeffSwenson a=jaylim-crl Fixes #76839, #71365. This commit rewrites the test to use the static directory server instead of the dynamic one. The old one is susceptible to GRPC port reuse and deadlock issues. With this change, only directory_cache_test.go is relying on the dynamic directory server. Once we rewrite that, we can remove the entire test directory implementation. Release note: None Co-authored-by: Jay <jay@cockroachlabs.com>
Fixes cockroachdb#76839 and cockroachdb#71365. This commit rewrites the test to use the static directory server instead of the dynamic one. The old one is susceptible to GRPC port reuse and deadlock issues. With this change, only directory_cache_test.go is relying on the dynamic directory server. Once we rewrite that, we can remove the entire test directory implementation. Release note: None
A number of the
sqlproxyccl
tests trigger the deadlock detector forTestDirectoryServer
.To reproduce, remove the
skip.UnderDeadlock
calls from the tests and run:Jira issue: CRDB-10530
The text was updated successfully, but these errors were encountered: