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 2012/10/17 18:06:03 UTC

[jira] [Updated] (CASSANDRA-4824) Pack consistency level in binary protocol

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

Sylvain Lebresne updated CASSANDRA-4824:
----------------------------------------

    Attachment: 4824.txt

Attached trivial patch to do that.
                
> Pack consistency level in binary protocol
> -----------------------------------------
>
>                 Key: CASSANDRA-4824
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4824
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>            Priority: Trivial
>             Fix For: 1.2.0 beta 2
>
>         Attachments: 4824.txt
>
>
> Currently the binary protocol encode ConsistencyLevel values using a string. But especially now that we ship the consistency level with each query, it doesn't cost us much to use a simple short code, saving a bunch of bytes each time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira