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

sstableloader data distribution is broken since 1.2.7

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.2.12
    • Legacy/Tools
    • None
    • Low

    Description

      Running sstableloader on 1.2.10+ results in radically different distribution compared with earlier versions. It looks as though the 'bare-bones' IndexSummary created in SSTR.loadForBatch is the cause (CASSANDRA-5555); because it contains only a single entry, we end up with the wrong segment of the index file in SSTR.getPosition (its position is always 0), so only the first segment of the index file is considered when searching for the range's position.

      This doesn't affect 2.0/trunk

      Attachments

        1. SSTableReaderTest-for-trunk.patch
          3 kB
          Sam Tunnicliffe
        2. SSTableReaderTest-for-2.0.patch
          2 kB
          Sam Tunnicliffe
        3. 0001-CASSANDRA-6272-Load-or-build-a-real-IndexSummary-in-.patch
          6 kB
          Sam Tunnicliffe

        Activity

          People

            samt Sam Tunnicliffe
            samt Sam Tunnicliffe
            Sam Tunnicliffe
            Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: