-
Notifications
You must be signed in to change notification settings - Fork 7
Add parsing TABLETS_ROUTING_V1 extension #21
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 parsing TABLETS_ROUTING_V1 extension #21
Conversation
d407975 to
ab7cd59
Compare
src/Cassandra.IntegrationTests/TestBase/TestCassandraVersion.cs
Outdated
Show resolved
Hide resolved
| if (options.TabletsRoutingV1) | ||
| { | ||
| startupOptions.Add(StartupOptionsFactory.TabletsRoutingV1Option, "true"); | ||
| } | ||
|
|
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.
What will happend if you set this option all the time ?
I think it should work just fine
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.
this option is needed so the server know that it should send the tablet info, if the driver does not support using tablets the server won't send the tablets info, tablets metadata is quite expensive to generate, so an old driver (without support for tablets) will generate huge amounts of such notifications.
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.
|
@dkropachev do you think this need some tests? |
ab7cd59 to
cc1ff2a
Compare
In order for Scylla to send the tablet info, the driver must tell the database during connection handshake that it is able to interpret it.
cc1ff2a to
feb2e55
Compare
Nope, let's have a task on that, my understanding that #20 needs to be addressed first and only then we can have a test that works properly on all the versions. |
In order for Scylla to send the tablet info, the driver must tell
the database during connection handshake that it is able to
interpret it.
Fixes: #11