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

   
   ### Change Logs
   
   Because replacecommit can be clustering, insert overwrite and delete 
partition. In SimpleConcurrentFileWritesConflictResolutionStrategy funciton 
getCandidateInstants, here only want to get pending clustering but actually it 
get pending replacommit(contains insert overwrite).   when we get insert 
overwrite, it will case 
BucketIndexConcurrentFileWritesConflictResolutionStrategy hasConflict function 
BucketIdentifier.bucketIdFromFileId throw arrayIndexOutofBound Exception.  (see 
the discussion in https://github.com/apache/hudi/issues/11516)
   
   So, in SimpleConcurrentFileWritesConflictResolutionStrategy 
getCandidateInstants, we filter real clustring instant.
   
   
   ### Impact
   
   NA 
   
   ### Risk level (write none, low medium or high below)
   
   low
   
   ### Documentation Update
   
   NA 
   
   - _The config description must be updated if new configs are added or the 
default value of the configs are changed_
   - _Any new feature or user-facing change requires updating the Hudi website. 
Please create a Jira ticket, attach the
     ticket number here and follow the 
[instruction](https://hudi.apache.org/contribute/developer-setup#website) to 
make
     changes to the website._
   
   ### Contributor's checklist
   
   - [ ] Read through [contributor's 
guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [ ] Change Logs and Impact were stated clearly
   - [ ] Adequate tests were added if applicable
   - [ ] CI passed
   


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