You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Danny Chen (Jira)" <ji...@apache.org> on 2023/04/20 02:52:00 UTC

[jira] [Closed] (HUDI-6099) Improve performance of checking for valid commits when tagging record location

     [ https://issues.apache.org/jira/browse/HUDI-6099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Danny Chen closed HUDI-6099.
----------------------------
    Fix Version/s: 0.13.1
                   0.14.0
       Resolution: Fixed

Fixed via master branch: 8afe5498c1b69d29de88a73670ac413a16bebf13

> 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
>             Fix For: 0.13.1, 0.14.0
>
>
> 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)