[
https://issues.apache.org/jira/browse/HUDI-6099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HUDI-6099:
---------------------------------
Labels: pull-request-available (was: )
> Improve performance of checking for valid commits when tagging record location
> ------------------------------------------------------------------------------
>
> Key: HUDI-6099
> URL: https://issues.apache.org/jira/browse/HUDI-6099
> Project: Apache Hudi
> Issue Type: Improvement
> Reporter: Prashant Wason
> Assignee: Prashant Wason
> Priority: Major
> Labels: pull-request-available
>
> The checkIfValidCommit function is called once for each record read from the
> HoodieIndex to ensure that the instantTime of the record is a valid commit.
> Creating a new timeline within this function each time is a costly operation.
> Hence, the timeline should be created once outside the loop of checking the
> records.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)