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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17394398#comment-17394398 ] 

ASF GitHub Bot commented on HUDI-2119:
--------------------------------------

hudi-bot edited a comment on pull request #3210:
URL: https://github.com/apache/hudi/pull/3210#issuecomment-872541566


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "9d104830439f5bbe589599d9a3bb5dd6f140f223",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=628",
       "triggerID" : "9d104830439f5bbe589599d9a3bb5dd6f140f223",
       "triggerType" : "PUSH"
     }, {
       "hash" : "45925d349630415ee9e10cb8b32ae7fad7f25b25",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=664",
       "triggerID" : "45925d349630415ee9e10cb8b32ae7fad7f25b25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "40b0fb75b0cf18dab3559a20a6fa44a3378764fa",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "40b0fb75b0cf18dab3559a20a6fa44a3378764fa",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 45925d349630415ee9e10cb8b32ae7fad7f25b25 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=664) 
   * 40b0fb75b0cf18dab3559a20a6fa44a3378764fa UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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)