flashJd opened a new pull request, #9630: URL: https://github.com/apache/hudi/pull/9630
### Change Logs Similar to https://github.com/apache/hudi/pull/9114, corner case when a record moves from 1 partition to another with partition path update set to true ### Impact https://github.com/apache/hudi/blob/eab00d570fdc986d865b511cc0402069b4b9ce2b/hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/index/hbase/SparkHoodieHBaseIndex.java#L235-L242 1. Hbase index tagLocation is executed concurrently in different spark partitions, so the index delete operation may happen after index add operation, cause the undefined behavior as [codope](https://github.com/codope) said. 2. ReduceByKey can be a costly operation as https://github.com/apache/hudi/pull/9114#discussion_r1251177363 discussed so add a flag to ignore this index delete operations in partitionPathUpdate condition ### Risk level (write none, low medium or high below) N/A ### Documentation Update N/A ### 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]
