Prashant Wason created HUDI-6099:
------------------------------------
Summary: 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
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)