mirror of https://github.com/apache/cassandra
Backport #5551 to 1.1
This commit is contained in:
parent
ce8bc33d43
commit
c5dc0292e0
|
|
@ -3,6 +3,7 @@
|
|||
* Use allocator information to improve memtable memory usage estimate
|
||||
(CASSANDRA-5497)
|
||||
* fsync leveled manifest to avoid corruption (CASSANDRA-5535)
|
||||
* Fix Bound intersection computation (CASSANDRA-5551)
|
||||
|
||||
1.1.11
|
||||
* Fix trying to load deleted row into row cache on startup (CASSANDRA-4463)
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@ public class Range<T extends RingPosition> extends AbstractBounds<T> implements
|
|||
*/
|
||||
public boolean intersects(Bounds<T> that)
|
||||
{
|
||||
return intersects(new Range<T>(that.left, that.right)) || contains(that.right);
|
||||
return intersects(new Range<T>(that.left, that.right)) || contains(that.left);
|
||||
}
|
||||
|
||||
public static <T extends RingPosition> Set<Range<T>> rangeSet(Range<T> ... ranges)
|
||||
|
|
|
|||
Loading…
Reference in New Issue