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

Marker file finalizing may block on a data file that was never written

    XMLWordPrintableJSON

Details

    Description

      // Ensure all files in delete list is actually present. This is mandatory for an eventually consistent FS. // Otherwise, we may miss deleting such files. If files are not found even after retries, fail the commit 
      if (consistencyCheckEnabled) { 
        // This will either ensure all files to be deleted are present.     waitForAllFiles(jsc, groupByPartition, FileVisibility.APPEAR); 
      }
      

      We need to handle the case where marker file was created, but we crashed before the data file was created.

      Attachments

        Issue Links

          Activity

            People

              shivnarayan sivabalan narayanan
              vinoth Vinoth Chandar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: