[
https://issues.apache.org/jira/browse/CASSANDRA-14782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16648515#comment-16648515
]
Chris Lohfink commented on CASSANDRA-14782:
-------------------------------------------
Something to include in this, when a mutation is dropped from the size for
being half the size of the commitlog can we include the table or partition? In
https://github.com/apache/cassandra/blob/2402acd47e3bb514981cde742b7330666c564869/src/java/org/apache/cassandra/db/commitlog/CommitLog.java#L267
it can get that from mutation.
> Make DatabaseDescriptor.getNativeTransportMaxFrameSize() a hotprop
> ------------------------------------------------------------------
>
> Key: CASSANDRA-14782
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14782
> Project: Cassandra
> Issue Type: Bug
> Reporter: Jordan West
> Priority: Major
>
> 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: [email protected]
For additional commands, e-mail: [email protected]