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

ZhaoYang updated CASSANDRA-13723:
---------------------------------
    Status: Open  (was: Patch Available)

if switch to {{e.toString()}} everywhere, C*  may generate many unnecessary 
String objects(gc) even if logger level is NONE.

By checking:  {{if(logger.isXXXEnable())}} would help, but it's troublesome.

how about using {{e.getMessage()}} instead of {{e.toString()}}?  this will 
affect driver's trace and server log.

> Trivial format error of digest in StorageProxy
> ----------------------------------------------
>
>                 Key: CASSANDRA-13723
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13723
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: ZhaoYang
>            Assignee: ZhaoYang
>            Priority: Trivial
>             Fix For: 4.0
>
>         Attachments: CASSANDRA-13723.patch
>
>
> The wrong tracing log will fail 
> {{materialized_views_test.py:TestMaterializedViews.view_tombstone_test}} and 
> impact clients.
> Current log: {{Digest mismatch: {} on 127.0.0.1}}
> Expected log: {{Digest mismatch: 
> org.apache.cassandra.service.DigestMismatchException: Mismatch for key 
> DecoratedKey....... on 127.0.0.1}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to