bithw1 opened a new issue, #8315:
URL: https://github.com/apache/hudi/issues/8315

   Hi,
   
   I am reading at 
https://hudi.apache.org/blog/2021/06/10/employing-right-configurations-for-hudi-cleaner/#examples.
   
   It gives an example for the clean policy KEEP_LATEST_COMMITS  and have set 
the following two options:
   
   ```
   hoodie.cleaner.policy=KEEP_LATEST_COMMITS
   hoodie.cleaner.commits.retained=2
   ```
   
   
   With `hoodie.cleaner.commits.retained=2`, will hudi will keep at least `two` 
versions for each file? 
    For example, I have a COW table and have committed 10 times(commit time 
c1,c2...c10,c1 is earliest and c10 is latest), and one file has committed only 
twice for commit time c1 and c8. 
   
   When I run the clean command, will the file still keep c1 and c8 for two 
versions? even c1 is too old since there have been 10 commits 
   
   
   
   
   
   
   
   


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