leaves12138 opened a new pull request, #7441:
URL: https://github.com/apache/paimon/pull/7441

   ## Purpose
   
   This PR fixes a commit safety issue in FileStoreCommitImpl and bans usage of 
org.apache.paimon.shade.org.apache.commons.lang3.StringUtils.
   
   ## Changes
   
   - remove cleanup of no-reuse manifests when commitSnapshotImpl(...) returns 
false
   - add a regression test for the case where the snapshot is actually 
committed but the commit call returns false
   - replace all usages of 
org.apache.paimon.shade.org.apache.commons.lang3.StringUtils with 
org.apache.paimon.utils.StringUtils
   - extend org.apache.paimon.utils.StringUtils with the methods required by 
existing call sites
   - add a checkstyle rule in tools/maven/checkstyle.xml to forbid importing 
org.apache.paimon.shade.org.apache.commons.lang3.StringUtils
   
   ## Verification
   
   - mvn -pl paimon-core -am -DskipTests -Dcheckstyle.skip 
-Dspotless.check.skip -Denforcer.skip compile
   - mvn -pl paimon-api -DskipTests -Dspotless.check.skip -Denforcer.skip 
checkstyle:check


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