Closed sylwiaszunejko closed 10 months ago
@avelanarius I added some graphs to show how the change affects them.
@nyh / @denesb can you please review and merge if approved?
BTW, what's the process to ping scylla maintainers and how would one get a PR merged without pinging maintainers?
@nyh / @denesb can you please review and merge if approved?
BTW, what's the process to ping scylla maintainers and how would one get a PR merged without pinging maintainers?
Give them a call. I think pinging the maintainers is a standard practice. (but I do see some unresolved comments here, that might confuse them)
@mykaul all comments are resolved now
@scylladb/scylla-maint (or is it @scylladb/scylla-jmx-maint ?) - please consider merging.
submodule update: scylladb/scylladb@f6f1ee70ed8df7aba3cfcb941b537fc85ec4da03
submodule update: scylladb/scylladb@f6f1ee7
I dequeued this, I forgot we cannot update tools-java until https://github.com/scylladb/java-driver/pull/267 is fixed.
https://github.com/scylladb/java-driver/pull/267 passed the CI and now merged.
scylladb/java-driver#267 passed the CI and now merged.
Now we need to (1) release and (2) update the Java driver version in scylla-tools-java.
Java Driver 3.11.5.1 is now released so the version number can be bumped in scylla-tools-java.
If we specify
rack
, we want to have replicas sorted based on which one is local. This happens on the java-driver side if we specify ordering inTokenAwarePolicy
. Specifically, it has to useReplicaOrdering.NEUTRAL
.This option was not used before, and that led to broken behavior. Now, Rack Awareness is properly respected.
Fixes: https://github.com/scylladb/java-driver/issues/255
To test I have used case with 6 nodes, and c-s is using
RackAwareRoundRobinPolicy
that targets only rackrack1
and all stress commands are showing the following logs:Before the change for
rf=3
it looked like that (first write operation, after that some reads): After the change for the same parameters we see that majority of the requests goes to127.0.0.1
and127.0.0.4
(orange and green lines) as it should.