Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-2926

Inline compaction of MOR table does not merge last log blocks when metadata table is enabled

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.0
    • 0.10.0
    • None
    • None

    Description

      This issue happens when:

      1. Metadata Table is enabled
      2. It is a MOR Table
      3. Append is not supported

      See HUDI-2925 for more detailed reasoning in the context of clean operations.

       

      Summary: HoodieTable has a cached metadata reader which should be synced to pick up changes on the dataset.

      Assume last deltacommit was 99.deltacommit and the log file version is 15. The next commit will be 100.deltacommit which will write log file 16 (new log file as APPEND not supported). If postWrite we read from the cached metadata reader  then it will not report log version 16.

       

       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            pwason Prashant Wason Assign to me
            pwason Prashant Wason
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment