mirror of https://github.com/apache/cassandra
semantics of TimeFilter (include all columns newer than some timestamp) mean we should use Long.MAX_VALUE as upper range, not current ms. patch by jbellis; reviewed by Jun Rau. see #52
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@762379 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
28cf5d7330
commit
27013dad79
|
|
@ -146,6 +146,6 @@ class TimeFilter implements IFilter
|
|||
|
||||
public DataInputBuffer next(String key, String cf, SSTable ssTable) throws IOException
|
||||
{
|
||||
return ssTable.next( key, cf, new IndexHelper.TimeRange( timeLimit_, System.currentTimeMillis() ) );
|
||||
return ssTable.next( key, cf, new IndexHelper.TimeRange( timeLimit_, Long.MAX_VALUE ) );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue