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

Make Hudi timeline backward compatible

    XMLWordPrintableJSON

Details

    Description

      Since release 1.x, the timeline metadata file name is changed to include the completion time, we need to keep compatibility for 0.x branches/releases.

      0.x meta file name pattern: ${instant_time}.action[.state]

      1.x meta file name pattern: ${instant_time}_${completion_time}.action[.state].

      In 1.x release, while decipheriing the Hudi instant from the metadata files, if there is no completion time, uses the file modification time as the completion time instead.

      The modification time follows the OCC concurrency control semantics if the files were not moved around.

      Caution that if the table is a MOR table and the files got moved in history from old folder to the current folder, the reader view may represent wong result set because the completion time are completely the same for all the alive instants.

      Attachments

        Issue Links

          Activity

            People

              danny0405 Danny Chen
              danny0405 Danny Chen
              Ethan Guo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: