Allow the client request scheduler to throw Timeouts
----------------------------------------------------

                 Key: CASSANDRA-3079
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3079
             Project: Cassandra
          Issue Type: Improvement
          Components: API
            Reporter: Stu Hood
            Assignee: Stu Hood
            Priority: Minor
             Fix For: 1.0


The RoundRobinScheduler prioritizes threads by allowing them to queue on a 
SynchronousQueue per scheduling bucket. These queues currently do not use 
timeouts, and we observed a cascading case where client retries caused the 
scheduler queues to fill such that latency was way above the client timeout.

Allowing the IRequestScheduler.queue method to throw a (per-call configurable) 
timeout, we can avoid this cascading.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to