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

Jonathan Ellis commented on CASSANDRA-213:
------------------------------------------

> Why do you want to get rid of the bootstrap staging code? 

Because 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.

> complete bootstrap code
> -----------------------
>
>                 Key: CASSANDRA-213
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-213
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Sandeep Tata
>            Priority: Critical
>             Fix For: 0.4
>
>
> The bootstrap code sends files from 
> DatabaseDescriptor.getBootstrapFileLocation to the node that is joining the 
> ring, but nothing actually puts files into that directory.
> There are probably other bugs / omissions we will find as we flesh this out.

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

Reply via email to