You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/06/20 03:04:00 UTC

[jira] [Updated] (CASSANDRA-15173) fix log for inconsistent-left-subrange in merkle-tree

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

ASF GitHub Bot updated CASSANDRA-15173:
---------------------------------------
    Labels: pull-request-available  (was: )

> fix log for inconsistent-left-subrange in merkle-tree
> -----------------------------------------------------
>
>                 Key: CASSANDRA-15173
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15173
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Legacy/Streaming and Messaging
>            Reporter: Nathan Jackels
>            Priority: Normal
>              Labels: pull-request-available
>
> One of the logs added inĀ CASSANDRA-13052 is called with incorrect arguments.
> InĀ org.apache.cassandra.utils.MerkleTree::differenceHelper the right-side subrange logs with right:
> {code:java}
>     else if (!rreso)
>     {
>         logger.debug("({}) Right sub-range fully inconsistent {}", active.depth, right);
>         rdiff = FULLY_INCONSISTENT;
>     }
> {code}
> but left side is also (incorrectly) logged with right:
> {code:java}
>     else if (!lreso)
>     {
>         logger.debug("({}) Left sub-range fully inconsistent {}", active.depth, right);
>         ldiff = FULLY_INCONSISTENT;
>     }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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