Skip to content

Commit

Permalink
avoid attempting to delete temporary bootstrap files twice. patch by …
Browse files Browse the repository at this point in the history
…jbellis; tested by Brandon Williams for CASSANDRA-681

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.5@898819 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
jbellis committed Jan 13, 2010
1 parent e309397 commit 337ea51
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
0.5.0 final
* avoid attempting to delete temporary bootstrap files twice (CASSANDRA-681)


0.5.0 RC3
* commit the correct version of the patch for CASSANDRA-663

Expand Down
5 changes: 1 addition & 4 deletions src/java/org/apache/cassandra/io/Streaming.java
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,7 @@ public static void transferSSTables(InetAddress target, List<SSTableReader> ssta
{
logger.info("Waiting for transfer to " + target + " to complete");
StreamManager.instance(target).waitForStreamCompletion();
for (SSTableReader sstable : sstables)
{
sstable.markCompacted();
}
// (StreamManager will delete the streamed file on completion.)
logger.info("Done with transfer to " + target);
}
}
Expand Down

0 comments on commit 337ea51

Please sign in to comment.