Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
The in-memory compaction/merge updates only the TimeRangeTracker when creating new ImmutableSegment, but the time information used to do time filter is the TimeRange rather than TimeRangeTracker. It don't cause any bugs currently because the TimeRange is used for store-level ts filter only and the default TimeRange of ImmutableSegment created by in-memory compaction/merge has the maximum ts range.
The TimeRange was used to be a snapshot of TimeRangeTracker for avoiding the sync operation happening in TimeRangeTracker. We can use non-sync trt introduced by HBASE-18753 to replace the TimeRange.