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

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

There seem to be a couple of statements that would have to be fixed, see

{noformat}grep -r logger src/java |grep '{}' |grep ', [e|t])'{noformat}

Running {{FileUtilsTest.testFolderSize}} will show the new behaviour:

{noformat}
ERROR [main] 2017-07-25 11:22:14,389 FileUtils.java:490 - Error while getting 
build/test/cassandra/data/testFolderSize/i_dont_exist folder size. {}
java.nio.file.NoSuchFileException: 
build/test/cassandra/data/testFolderSize/i_dont_exist
        at 
sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) 
~[na:1.8.0_112]
        at 
sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) 
~[na:1.8.0_112]
        at 
sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) 
~[na:1.8.0_112]
...
{noformat}

The logger will not substitute the placeholder and print the hold stack trace 
instead. 

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to