You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Vassil Lunchev (JIRA)" <ji...@apache.org> on 2016/05/06 17:20:13 UTC

[jira] [Commented] (CASSANDRA-10876) Alter behavior of batch WARN and fail on single partition batches

    [ https://issues.apache.org/jira/browse/CASSANDRA-10876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15274377#comment-15274377 ] 

Vassil Lunchev commented on CASSANDRA-10876:
--------------------------------------------

How about backporting this change to 3.0.x?

I know that it is marked as an improvement, but the patch contains a relatively minor change on the borderline between a fix and an improvement.

We are currently using 3.0.x in production and we issue relatively large single partition batches. Our logs are full of warnings about that, but moving to 3.6 just for this trivial fix is a little to much for us.

> Alter behavior of batch WARN and fail on single partition batches
> -----------------------------------------------------------------
>
>                 Key: CASSANDRA-10876
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10876
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Patrick McFadin
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>              Labels: lhf
>             Fix For: 3.6
>
>         Attachments: 10876.txt
>
>
> In an attempt to give operator insight into potentially harmful batch usage, Jiras were created to log WARN or fail on certain batch sizes. This ignores the single partition batch, which doesn't create the same issues as a multi-partition batch. 
> The proposal is to ignore size on single partition batch statements. 
> Reference:
> [CASSANDRA-6487|https://issues.apache.org/jira/browse/CASSANDRA-6487]
> [CASSANDRA-8011|https://issues.apache.org/jira/browse/CASSANDRA-8011]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)