cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (Jira)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-14781) Log message when mutation passed to CommitLog#add(Mutation) is too large is not descriptive enough
Date Tue, 12 Nov 2019 16:35:00 GMT

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

Aleksey Yeschenko commented on CASSANDRA-14781:
-----------------------------------------------

I would also not bother with listing individual tables; keyspace and partition key should
hopefully be sufficient enough, and memoise calculated {{Mutation}} size in the {{Mutation}}
object (see {{serializedSize*}} fields in {{Message}} in 4.0) to prevent redundant calculations
by subsequent stages.

> Log message when mutation passed to CommitLog#add(Mutation) is too large is not descriptive
enough
> --------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-14781
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14781
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Legacy/Local Write-Read Paths
>            Reporter: Jordan West
>            Assignee: Tom Petracca
>            Priority: Normal
>             Fix For: 3.0.x, 3.11.x, 4.x
>
>         Attachments: CASSANDRA-14781.patch, CASSANDRA-14781_3.0.patch, CASSANDRA-14781_3.11.patch
>
>
> When hitting [https://github.com/apache/cassandra/blob/cassandra-3.0/src/java/org/apache/cassandra/db/commitlog/CommitLog.java#L256-L257],
the log message produced does not help the operator track down what data is being written.
At a minimum the keyspace and cfIds involved would be useful (and are available) – more
detail might not be reasonable to include. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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


Mime
View raw message