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 02:34:00 UTC

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

Nathan Jackels created CASSANDRA-15173:
------------------------------------------

             Summary: 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


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