You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Udit Mehrotra (Jira)" <ji...@apache.org> on 2021/08/03 23:41:00 UTC

[jira] [Updated] (HUDI-2119) Syncing of rollbacks to metadata table does not work in all cases

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

Udit Mehrotra updated HUDI-2119:
--------------------------------
    Labels: pull-request-available release-blocker  (was: pull-request-available)

> Syncing of rollbacks to metadata table does not work in all cases
> -----------------------------------------------------------------
>
>                 Key: HUDI-2119
>                 URL: https://issues.apache.org/jira/browse/HUDI-2119
>             Project: Apache Hudi
>          Issue Type: Bug
>            Reporter: Prashant Wason
>            Assignee: Prashant Wason
>            Priority: Blocker
>              Labels: pull-request-available, release-blocker
>             Fix For: 0.9.0
>
>
> This is an issue with inline automatic rollbacks.
> Metadata table assumes that a rollbacks is to be applied if the instant-being-rolled back has a timestamp less than the last deltacommit time on the metadata timeline. We do not explicitly check if the instant-being-rolled-back was actually written to metadata table.
> **A rollback adds a record to metadata table which "deletes" files from a failed/earlier commit. If the files being deleted were never actually committed to metadata table earlier, the deletes cannot be consolidated during metadata table reads. This leads to a HoodieMetadataException as we cannot differentiate this from a bug where we might have missed committing a commit to metadata table.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)