abhisheksahani91 commented on issue #8975:
URL: https://github.com/apache/hudi/issues/8975#issuecomment-1593408753

   @danny0405 I think I misunderstood the config. When I
    looked into the code, it is observed triggering the compaction based on 
elapsed_time also requires the delta commit. I thought there is a background 
job that blindly schedules compaction for the regular interval specified by the 
property compaction.delta_seconds
    
    `case NUM_AND_TIME:
           compactable = inlineCompactDeltaCommitMax <= 
latestDeltaCommitInfo.getLeft()
               && inlineCompactDeltaSecondsMax <= parsedToSeconds(instantTime) 
- parsedToSeconds(latestDeltaCommitInfo.getRight());
           if (compactable) {
             LOG.info(String.format("The delta commits >= %s and elapsed_time 
>=%ss, trigger compaction scheduler.", inlineCompactDeltaCommitMax,
                 inlineCompactDeltaSecondsMax));
           }`
    
      


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