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

Patrick McFadin updated CASSANDRA-6487:
---------------------------------------

    Description: 
Large batches on a coordinator can cause a lot of node stress. I propose adding 
a WARN log entry if batch sizes go beyond a configurable size. This will give 
more visibility to operators on something that can happen on the developer 
side. 

New yaml setting with 5k default.

{{# Log WARN on any batch size exceeding this value. 5k by default.
# Caution should be taken on increasing the size of this threshold as it can 
lead to node instability.

batch_size_warn_threshold: 5k
}}


  was:
Large batches on a coordinator can cause a lot of node stress. I propose adding 
a WARN log entry if batch sizes go beyond a configurable size. This will give 
more visibility to operators on something that can happen on the developer 
side. 

New yaml setting with 5k default.

# Log WARN on any batch size exceeding this value. 5k by default.
# Caution should be taken on increasing the size of this threshold as it can 
lead to node instability.

batch_size_warn_threshold: 5k




> Log WARN on large batch sizes
> -----------------------------
>
>                 Key: CASSANDRA-6487
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6487
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Patrick McFadin
>            Priority: Minor
>
> Large batches on a coordinator can cause a lot of node stress. I propose 
> adding a WARN log entry if batch sizes go beyond a configurable size. This 
> will give more visibility to operators on something that can happen on the 
> developer side. 
> New yaml setting with 5k default.
> {{# Log WARN on any batch size exceeding this value. 5k by default.
> # Caution should be taken on increasing the size of this threshold as it can 
> lead to node instability.
> batch_size_warn_threshold: 5k
> }}



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to