cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Tunnicliffe (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-6272) sstableloader data distribution is broken since 1.2.10
Date Wed, 30 Oct 2013 18:47:26 GMT


Sam Tunnicliffe updated CASSANDRA-6272:

    Attachment: 0001-CASSANDRA-6272-Load-or-build-a-real-IndexSummary-in-.patch

Sorry, generated the original patch against an older version, so it doesn't apply to the current
1.2 branch. Replaced with an updated version

> sstableloader data distribution is broken since 1.2.10
> ------------------------------------------------------
>                 Key: CASSANDRA-6272
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Sam Tunnicliffe
>            Assignee: Sam Tunnicliffe
>            Priority: Minor
>         Attachments: 0001-CASSANDRA-6272-Load-or-build-a-real-IndexSummary-in-.patch
> 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

This message was sent by Atlassian JIRA

View raw message