[ 
https://issues.apache.org/jira/browse/CASSANDRA-19562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jane He updated CASSANDRA-19562:
--------------------------------
    Resolution: Cannot Reproduce
        Status: Resolved  (was: Triage Needed)

Closed as we cannot reproduce

> DefaultLoadBalancingPolicy considers a TimeOut as a response
> ------------------------------------------------------------
>
>                 Key: CASSANDRA-19562
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19562
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Client/java-driver
>            Reporter: Jane He
>            Assignee: Jane He
>            Priority: Normal
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> At this line: 
> [https://github.com/apache/cassandra-java-driver/blob/388a46b9c10b5653c71ac8840bcda0c91b59bce4/core/src/main/java/com/datastax/oss/driver/internal/core/loadbalancing/DefaultLoadBalancingPolicy.java#L255]
> It considers a timeout as a response, when it is counting whether there are 2 
> responses in the past 200ms to decide whether a node is slow and should be 
> excluded. This will result in the driver continue sending requests to a node 
> that is not responding and giving timeout exception.
> It should be fixed just by an if statement saying if the error is not 
> DriverTimeoutException, then update response times.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to