cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-3496) Load from `nodetool ring` does not update after cleanup.
Date Tue, 15 Nov 2011 20:28:51 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-3496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13150744#comment-13150744
] 

Jonathan Ellis commented on CASSANDRA-3496:
-------------------------------------------

Jackson pointed out that doing it in the current order, the data will be removed by the time
we call length() on it:

{code}
.           sstable.markCompacted();
            sstable.releaseReference();
            liveSize.addAndGet(-sstable.bytesOnDisk());
{code}
                
> Load from `nodetool ring` does not update after cleanup.
> --------------------------------------------------------
>
>                 Key: CASSANDRA-3496
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3496
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>            Reporter: Benjamin Coverston
>            Assignee: Sylvain Lebresne
>
> Repro:
> Bring up a node.
> Insert 1M rows:
> 127.0.0.1       datacenter1 rack1       Up     Normal  406.92 MB       100.00% 77747037169725419723056812679314618801
> (Already looks wrong, 406.92 is higher than I'm used to seeing from a single run of stress)
> Bootstrap a second node into the cluster:
> 162877269496252595336256012556853953561
> 127.0.0.1       datacenter1 rack1       Up     Normal  407.03 MB       49.96%  77747037169725419723056812679314618801
> 127.0.0.2       datacenter1 rack1       Up     Normal  157.91 MB       50.04%  162877269496252595336256012556853953561
> Cleanup
> 162877269496252595336256012556853953561
> 127.0.0.1       datacenter1 rack1       Up     Normal  551.2 MB       49.96%  77747037169725419723056812679314618801
> 127.0.0.2       datacenter1 rack1       Up     Normal  157.91 MB       50.04%  162877269496252595336256012556853953561
> Looks like each operation that adds and removes SSTables only adds to the total and doesn't
remove the old sstables from the total size count.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message