You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2011/06/11 16:28:58 UTC

[jira] [Resolved] (CASSANDRA-2110) Local reads in client threads can throw IOError

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

Jonathan Ellis resolved CASSANDRA-2110.
---------------------------------------

       Resolution: Not A Problem
    Fix Version/s:     (was: 1.0)

Thrift will catch the IOError and return an InternalError to the client.  If anything this is better than the behavior we'd get moving it to a stage (a TimedOutException).

(We need to do the single-row reads in fetchRows on the stage so we get concurrency in the case of a multiget.)

> Local reads in client threads can throw IOError
> -----------------------------------------------
>
>                 Key: CASSANDRA-2110
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2110
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Stu Hood
>            Priority: Minor
>              Labels: io
>
> When we trigger the "local read" optimization, and perform a read in the client thread (that would normally be performed in the stages), there is a chance that we will kill the client thread with an IOError.

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