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 2014/03/19 05:55:44 UTC

[jira] [Assigned] (CASSANDRA-6836) WriteTimeoutException always reports that the serial CL is "SERIAL"

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

Jonathan Ellis reassigned CASSANDRA-6836:
-----------------------------------------

    Assignee: Irfan Nagoo

> WriteTimeoutException always reports that the serial CL is "SERIAL"
> -------------------------------------------------------------------
>
>                 Key: CASSANDRA-6836
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6836
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Nicolas Favre-Felix
>            Assignee: Irfan Nagoo
>            Priority: Minor
>              Labels: lhf
>         Attachments: trunk-6836.txt
>
>
> In StorageProxy.proposePaxos, the WriteTimeoutException is thrown with information about the consistency level. This CL is hardcoded to ConsistencyLevel.SERIAL, which might be wrong when LOCAL_SERIAL is used:
> {code}
>         if (timeoutIfPartial && !callback.isFullyRefused())
>             throw new WriteTimeoutException(WriteType.CAS, ConsistencyLevel.SERIAL, callback.getAcceptCount(), requiredParticipants);
> {code}
> Suggested fix: pass consistencyForPaxos as a parameter to proposePaxos().



--
This message was sent by Atlassian JIRA
(v6.2#6252)