codope opened a new pull request, #5342: URL: https://github.com/apache/hudi/pull/5342
## What is the purpose of the pull request Currently, drop index deletes the partition but leaves any pending instant on the timeline. If we do not delete the pending index instants, then compaction may not kick in the MDT. This PR fixes the behavior. ## Brief change log - Update dropIndex API in `HoodieBackedTableMetadataWriter` - Add UT for the scenario ## Verify this pull request - Added a UT, which schedules column_stats index but then calls drop index, so the indexing.requested should be deleted. - Manually verified for indexing.inflight by killing the regular writer. ## Committer checklist - [ ] Has a corresponding JIRA in PR title & commit - [ ] Commit message is descriptive of the change - [ ] CI is green - [ ] Necessary doc changes done or have another open PR - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA. -- 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: commits-unsubscr...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org