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

Bootstrapping might skip needed ranges.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 0.6
    • None
    • None
    • Normal

    Description

      Bootstrapper.getRangeWithSources should return a multimap with as many keys as myRangeAddresses. But with the way the two loops are structured, they are not guaranteed to ever examine all of myRanges. To see why, consider a scenario where the inner-loop breaks on the first element in myRanges. myRangeAddresses will only ever have one key in it.

      Solution is to swap the order of the loops.

      Attachments

        Activity

          People

            gdusbabek Gary Dusbabek
            gdusbabek Gary Dusbabek
            Gary Dusbabek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: