HBASE-13447 Bypass logic in TimeRange.compare.
This commit is contained in:
parent
e9da064ccd
commit
71536bdcc7
|
@ -166,6 +166,7 @@ public class TimeRange {
|
|||
* 1 if timestamp is greater than timerange
|
||||
*/
|
||||
public int compare(long timestamp) {
|
||||
if (allTime) return 0;
|
||||
if (timestamp < minStamp) {
|
||||
return -1;
|
||||
} else if (timestamp >= maxStamp) {
|
||||
|
|
Loading…
Reference in New Issue