You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2019/12/29 03:07:39 UTC

[GitHub] [incubator-hudi] bvaradar commented on issue #1128: [HUDI-453] Fix throw failed to archive commits error when writing data to MOR/COW table

bvaradar commented on issue #1128: [HUDI-453] Fix throw failed to archive commits error when writing data to MOR/COW table
URL: https://github.com/apache/incubator-hudi/pull/1128#issuecomment-569469565
 
 
   @lamber-ken : there is a bug in HoodieActiveTimeline.saveToCleanRequested(). It was never meant to be empty. The cleaner plan needs to be stored in requested file in the timeline 
   
   Remove these 2 lines 
     - // Plan is only stored in auxiliary folder
     -  createFileInMetaPath(instant.getFileName(), Option.empty(), false);
   and add
   + createFileInMetaPath(instant.getFileName(), content, false);
   
   This should guarantee that requested clean file is non-empty and no longer need any special casing in archiving.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services