java-driver icon indicating copy to clipboard operation
java-driver copied to clipboard

ScyllaDB Java Driver for ScyllaDB and Apache Cassandra, based on the DataStax Java Driver

Results 152 java-driver issues
Sort by recently updated
recently updated
newest added

Run: https://github.com/scylladb/java-driver/actions/runs/12054939831/job/33614160482?pr=385 Output: ``` Error: Tests run: 1277, Failures: 1, Errors: 0, Skipped: 652, Time elapsed: 741.583 s

Currently LWT routing does not involve `LoadBlancingPolicy` at all https://github.com/scylladb/java-driver/blob/dbfe82a3b5fcf9f3171bf531ef5675b0cdc27e66/driver-core/src/main/java/com/datastax/driver/core/RequestHandler.java#L146-L154 And returns vnode/tablet replicas as they are. As result if user configured cluster with `TokenAwarePolicy`+`DCAwareRoundRobinPolicy`/`RackAwareRoundRobinPolicy` as `LoadBalancingPolicy` they expect to...

Currently LWT routing does not involve `LoadBlancingPolicy` at all https://github.com/scylladb/java-driver/blob/dbfe82a3b5fcf9f3171bf531ef5675b0cdc27e66/driver-core/src/main/java/com/datastax/driver/core/RequestHandler.java#L146-L154 And returns vnode/tablet replicas as they are. As result if user configured cluster with `TokenAwarePolicy`+`DCAwareRoundRobinPolicy`/`RackAwareRoundRobinPolicy` as `LoadBalancingPolicy` they expect to...

See the following snippet from `TokenAwarePolicy.java` ``` @Override protected Host computeNext() { while (replicasIterator.hasNext()) { Host host = replicasIterator.next(); if (host.isUp() && childPolicy.distance(host) == HostDistance.LOCAL) return host; } ... ```...

bug

Both `3.x` and `4.x` ignore `LoadBalancingPolicy` and return all the replicas in the same order they get it from `vnodes` or tablets for `LWT` statements and it seems wrong to...

We have had an issue with `java-driver` reaching end of execution plan and throwing `NoNodeAvailableException`. The problem is that when user get this error there is no information in it,...

It comes from https://github.com/scylladb/cassandra-stress/issues/30. Time to time it can stuck waiting for `DefaultResultSetFuture` to be released: ``` "Thread-2" prio=5 Id=59 WAITING on com.datastax.driver.core.DefaultResultSetFuture@2ad5ebfd at [email protected]/jdk.internal.misc.Unsafe.park(Native Method) - waiting on com.datastax.driver.core.DefaultResultSetFuture@2ad5ebfd...

Currently `TabletMap` contains `private final Cluster.Manager cluster` that makes it unreasonably hard to unit test it. Let's drop `private final Cluster.Manager cluster` from it and have unit tests for it.

Since netty `bootstrap.connect` uses only first address of unresolved `InetSocketAddress` 4.x does not even try to connect to other when it fails. Consider following test: ``` @Test public void cannot_connect_if_first_node_is_unavailable()...