You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2014/01/16 15:35:25 UTC

[jira] [Updated] (CASSANDRA-6595) Avoid special casing received/expected counts in CAS timeout exceptions

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

Sylvain Lebresne updated CASSANDRA-6595:
----------------------------------------

    Attachment: 6595.txt

Trivial patch attached.

> Avoid special casing received/expected counts in CAS timeout exceptions
> -----------------------------------------------------------------------
>
>                 Key: CASSANDRA-6595
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6595
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>            Priority: Trivial
>             Fix For: 2.0.5
>
>         Attachments: 6595.txt
>
>
> For CAS, we send a few timeouts with -1 as received and expected counts, but it's kind of confusing from a user perspective (meaning that it could easily break user code that check those numbers just because they didn't expected a negative number). Suggesting to return 0 for received and whatever we block for for the CL involved for required instead.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)