cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Podkowinski (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-13723) Trivial format error of digest in StorageProxy
Date Thu, 27 Jul 2017 09:23:00 GMT

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

Stefan Podkowinski commented on CASSANDRA-13723:
------------------------------------------------

I think we'd just have to change any log messages that intent to print the exception as represented
by a log format parameter, e.g. {{logger.debug("Error! {}", e)}}. In this case we can simply
replace the exception with {{e.getMessage()}}. But we don't have to change log messages that
would print the stacktrace,
 e.g. {{logger.debug("Error!", e)}}.

> 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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message