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:
Jonathan Ellis 2009-04-06 15:10:22 +00:00
parent 28cf5d7330
commit 27013dad79
1 changed files with 1 additions and 1 deletions

View File

@ -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 ) );
}
}