the-other-tim-brown opened a new pull request, #13450: URL: https://github.com/apache/hudi/pull/13450
### Describe the issue this Pull Request addresses Resolves https://github.com/apache/hudi/issues/17059 - The bloom index uses the `HoodieKeyLookupHandle` which looks up the latest base file for the provided file group ID and partition path. This runs the risk of returning the base file for a pending compaction which results in a runtime failure since the file does not actually exist yet. ### Summary and Changelog - Updates the lookup code to require a latest instant time and uses the `getLatestMergedFileSliceBeforeOrOn` to ensure that the base file used for the key lookup is a valid file from a completed commit. ### Impact - Fixes edge case for users running async table services - Fixes flakey test case ### Risk Level <!-- Accepted values: none, low, medium or high. Other than `none`, explain the risk. If medium or high, explain what verification was done to mitigate the risks. --> Low ### Documentation Update <!-- Describe any necessary documentation update if there is any new feature, config, or user-facing change. If not, put "none". - 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 follow the [instruction](https://hudi.apache.org/contribute/developer-setup#website) to make changes to the website. --> ### Contributor's checklist - [x] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute) - [x] Enough context is provided in the sections above - [ ] Adequate tests were added if applicable -- 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]
