cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bened...@apache.org
Subject cassandra git commit: remove extraneous Range.normalize() in SSTableScanner
Date Thu, 05 Feb 2015 14:33:59 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.1 2d5d30114 -> b15113411


remove extraneous Range.normalize() in SSTableScanner


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/b1511341
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/b1511341
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/b1511341

Branch: refs/heads/cassandra-2.1
Commit: b15113411a6efa725d3f420a7e0f6bc796aa9780
Parents: 2d5d301
Author: Benedict Elliott Smith <benedict@apache.org>
Authored: Thu Feb 5 14:32:54 2015 +0000
Committer: Benedict Elliott Smith <benedict@apache.org>
Committed: Thu Feb 5 14:32:54 2015 +0000

----------------------------------------------------------------------
 src/java/org/apache/cassandra/io/sstable/SSTableScanner.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/b1511341/src/java/org/apache/cassandra/io/sstable/SSTableScanner.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/io/sstable/SSTableScanner.java b/src/java/org/apache/cassandra/io/sstable/SSTableScanner.java
index dc065af..676f87d 100644
--- a/src/java/org/apache/cassandra/io/sstable/SSTableScanner.java
+++ b/src/java/org/apache/cassandra/io/sstable/SSTableScanner.java
@@ -59,7 +59,7 @@ public class SSTableScanner implements ISSTableScanner
     public static ISSTableScanner getScanner(SSTableReader sstable, Collection<Range<Token>>
tokenRanges, RateLimiter limiter)
     {
         // We want to avoid allocating a SSTableScanner if the range don't overlap the sstable
(#5249)
-        List<Pair<Long, Long>> positions = sstable.getPositionsForRanges(Range.normalize(tokenRanges));
+        List<Pair<Long, Long>> positions = sstable.getPositionsForRanges(tokenRanges);
         if (positions.isEmpty())
             return new EmptySSTableScanner(sstable.getFilename());
 


Mime
View raw message