Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-15173

fix log for inconsistent-left-subrange in merkle-tree

    XMLWordPrintableJSON

    Details

      Description

      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:

          else if (!rreso)
          {
              logger.debug("({}) Right sub-range fully inconsistent {}", active.depth, right);
              rdiff = FULLY_INCONSISTENT;
          }
      

      but left side is also (incorrectly) logged with right:

          else if (!lreso)
          {
              logger.debug("({}) Left sub-range fully inconsistent {}", active.depth, right);
              ldiff = FULLY_INCONSISTENT;
          }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Nathan.Jackels Nathan Jackels
                Reporter:
                Nathan.Jackels Nathan Jackels
                Authors:
                Nathan Jackels
                Reviewers:
                Jeff Jirsa
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m