You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Nathan Jackels (JIRA)" <ji...@apache.org> on 2019/06/20 03:04:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16868203#comment-16868203 ]
Nathan Jackels commented on CASSANDRA-15173:
--------------------------------------------
Created [pull request #327|https://github.com/apache/cassandra/pull/327]
> 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
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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