Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
Currently KeyValue.RAW_COMPARATOR is written in the Trailer of the HFiles. Ideally this need not be persisted to the trailer of the Hfiles because only the ROW bloom and the meta index blocks uses this. Currently RAW_COMPARATOR is also of type KVComparator.
HBASE-10800 would introduce CellComparator and would expect only cells to be compared. We cannot have RAW_COMPARATOR a type of CellComparator. Hence it is better to avoid writing the RAW_COMPARATOR to the FFT and whereever we need RAW_COMPARATOR we will directly use it as Bytes.BYTES_RAWCOMPARATOR.