Skip to content
Browse files

Fix streaming from all replica during boostrap/rebuild

patch by scode; reviewed by slebresne for CASSANDRA-3922
  • Loading branch information...
1 parent 33199c6 commit 271630d585a6f260cead493bca2fb7a1a6f8ea41 @pcmanus pcmanus committed
Showing with 2 additions and 1 deletion.
  1. +1 −1 CHANGES.txt
  2. +1 −0 src/java/org/apache/cassandra/dht/RangeStreamer.java
View
2 CHANGES.txt
@@ -64,7 +64,7 @@
* Allow extending CompositeType comparator (CASSANDRA-3657)
* Avoids over-paging during get_count (CASSANDRA-3798)
* Add new command to rebuild a node without (repair) merkle tree calculations
- (CASSANDRA-3483)
+ (CASSANDRA-3483, 3922)
* respect not only row cache capacity but caching mode when
trying to read data (CASSANDRA-3812)
* fix system tests (CASSANDRA-3827)
View
1 src/java/org/apache/cassandra/dht/RangeStreamer.java
@@ -189,6 +189,7 @@ public void addRanges(String table, Collection<Range<Token>> ranges)
rangeFetchMapMap.put(address, range);
foundSource = true;
+ break; // ensure we only stream from one other node for each range
}
if (!foundSource)

0 comments on commit 271630d

Please sign in to comment.
Something went wrong with that request. Please try again.