-
Notifications
You must be signed in to change notification settings - Fork 629
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
awaitSchemaAgreement not ignoring ghost node #1736
Comments
I can work on a fix for it, but I'm not sure what to do to fix it. I know that drivers for Python and Java check the node state when asserting if a node is a valid peer. |
Hi @joao-r-reis, I wanted to check in on this PR/issue since it has been open for a while. Does it make sense to keep it open? If so, could you review it when you have a chance? If it's not relevant, I’m happy to close it. Thanks for your time! |
Yeah it makes sense to keep it open, right now we're prioritizing some other issues for the upcoming 2.0 release but this is definitely something that should be fixed at some point. Can you create a JIRA? |
Done! Opened CASSGO-52. |
Please answer these questions before submitting your issue. Thanks!
What version of Cassandra are you using?
3.11.11
What version of Gocql are you using?
v1.6.0
What version of Go are you using?
1.21.6
What did you do?
Running migrations that use
WaitForSchemaAgreement
What did you expect to see?
The migrations to finish successfully
What did you see instead?
Describe your Cassandra cluster
I have a cluster of 50+ nodes. One of them was replaced a few days ago but the
system.peers
was left in an inconsistent state, where the replaced node is still showing in there with a differentschema_version
.The
nodetool status
command prints out the "correct" output, where the old node is NOT shown.The
system.peers
table shows the old node and all columns are filled with some value, like:The old node is unreachable.
The text was updated successfully, but these errors were encountered: