danny0405 opened a new pull request, #19385:
URL: https://github.com/apache/hudi/pull/19385

   ## What changed
   
   - Use `ClosedClosedTimeRangeFilter` when loading archived compaction details 
in timeline V2.
   - Add a regression test for loading a compaction plan through the 
single-instant overload.
   
   ## Why
   
   `loadCompactionDetailsInMemory(instantTime)` delegates with identical start 
and end boundaries. The previous open-closed filter represented `(instantTime, 
instantTime]`, which is empty, so the archived record was filtered out even 
when its containing LSM file was selected.
   
   Using a closed-closed filter makes the requested range `[instantTime, 
instantTime]`, matching timeline V1 behavior and allowing the requested 
compaction plan to load.
   
   ## Impact
   
   Callers can load the archived compaction plan for one exact instant from 
timeline V2.
   
   ## Validation
   
   ```text
   mvn -pl hudi-client/hudi-client-common -am \
     -DskipITs \
     -Dtest=TestArchivedTimelineV2 \
     -Dsurefire.failIfNoSpecifiedTests=false test
   
   Tests run: 3, Failures: 0, Errors: 0, Skipped: 0
   ```
   


-- 
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]

Reply via email to