cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-396) more-efficient anticompaction/bootstrap/load-balance
Date Fri, 28 Aug 2009 15:38:19 GMT

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

Jonathan Ellis commented on CASSANDRA-396:
------------------------------------------

also: if we move "throw away keys that I'm not responsible for anymore" into normal compaction,
we don't have to deal with anticompaction+cleanup on the replicas of the bootstrapped range,
either, which we currently skip entirely.

> more-efficient anticompaction/bootstrap/load-balance
> ----------------------------------------------------
>
>                 Key: CASSANDRA-396
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-396
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Jonathan Ellis
>             Fix For: 0.5
>
>
> From a comment in CASSANDRA-213: it's a lot less IO (50% less reads, to be exact) to
have anticompact split the old file into new files, each of which are served live until bootstrap
is complete, at which point the sent file is removed, than to copy the to-send files out to
a staging dir, and later re-scan the original file for cleanup & writing what is left.
 plus we get to remove the cleanup methods in ColumnFamilyStore, since they will be unnecessary.
> one other detail: we need to keep compaction from merging the to-send file until boostrap
is complete.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message