wchevreuil commented on code in PR #7124:
URL: https://github.com/apache/hbase/pull/7124#discussion_r2192735121
##########
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileWriterImpl.java:
##########
@@ -899,12 +909,19 @@ public void appendTrackedTimestampsToMetadata() throws
IOException {
appendFileInfo(EARLIEST_PUT_TS, Bytes.toBytes(earliestPutTs));
}
+ public void appendCustomCellTimestampsToMetadata(TimeRangeTracker
timeRangeTracker)
+ throws IOException {
+ // TODO: The StoreFileReader always converts the byte[] to TimeRange
+ // via TimeRangeTracker, so we should write the serialization data of
TimeRange directly.
Review Comment:
Yeah, added this back then because I wasn't happy with adding time range
tracking logic into HFileWriterImpl (originally, it was in StoreFileWriter).
This was introduced here by HBASE-28469, IIRC, as a mean to track dates also
when flushing, rather than at compaction only.
I think we should keep the TODO and revisit this code later on a separate
JIRA. We still have to work on how to track custom tiering value on flushes,
maybe that would be a good time to solve this TODO as well.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]