You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jordan West (JIRA)" <ji...@apache.org> on 2018/09/21 20:38:00 UTC

[jira] [Created] (CASSANDRA-14782) Large mutations can wreak havoc before being rejected by the commit log

Jordan West created CASSANDRA-14782:
---------------------------------------

             Summary: Large mutations can wreak havoc before being rejected by the commit log
                 Key: CASSANDRA-14782
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14782
             Project: Cassandra
          Issue Type: Bug
            Reporter: Jordan West


Large mutations are rejected by the commit log (https://github.com/apache/cassandra/blob/cassandra-3.0/src/java/org/apache/cassandra/db/commitlog/CommitLog.java#L254) but when {{totalSize}} is significantly greater than the {{MAX_MUTATION_SIZE}} the damage to the node may already done. Large mutations cause large buffers to be allocated and can lead to GC trashing and generally bad node health. 

It should be possible to set a size above which the native protocol rejects messages without materializing them into objects and passing them downstream. 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org