shoemoney opened a new pull request, #8573: URL: https://github.com/apache/hbase/pull/8573
Bug: getCompactBoundariesForMajor silently drops files lacking CUSTOM_TIERING_TIME_RANGE at CustomDateTieredCompactionPolicy.java:72. Files without the metadata are ignored when computing min and max, so compaction boundaries miss the cutOffTimestamp split and may return only MIN_VALUE. Fix: Track hasMissing when timeRangeBytes is null or parse fails. If any file is missing, add cutOffTimestamp to boundaries and return [MIN_VALUE, cutOffTimestamp] to force correct tier separation, matching shouldPerformMajorCompaction which already returns true for missing files. Evidence: Fix verified RED to GREEN. Stashed fix and ran existing compaction tests, restored fix. Formatter blast radius limited to single file hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/compactions/CustomDateTieredCompactionPolicy.java (8 lines added). No other files changed. -- 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]
