yihua commented on issue #4666:
URL: https://github.com/apache/hudi/issues/4666#issuecomment-1028487024


   > hey @ganczarek : looks like there is a bug 
https://issues.apache.org/jira/browse/HUDI-3346. we will work on the fix. 
should be straight forward. Atleast in this case, manually deleting the commit 
meta file just for this instant should be fine. Here is what could have 
resulted in this.
   > 
   > Just before downgrade, a commit was started, but before going into 
inflight or before a single marker file could be created, the process crashed. 
And so there is no marker dir only created for this commit. Downgrade code 
missed to check for existence in one place (but there are other places where 
this check is made) and so it failed.
   > 
   > I have created a tracking 
[ticket](https://issues.apache.org/jira/browse/HUDI-3346) here. We are good to 
close this.
   
   Sorry, I missed this.  There should be a check for marker directory before 
trying to delete it, which is missing before.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to