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

Multiple tasks get the lock at the same time when use occ

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • multi-writer
    • None

    Description

      config:

      • occ open
      • use FileSystemBasedLock
      • mdt is open in write defualt

      there has three job, jobA, jobB, jobC, these three jobs are running at the same time.

      jobA get lock success, jobB has been trying to get lock, jobC also try to get lock.

      jobB failed because can not get lock, but it delete lock file when close write client, now, jobC will get lock, it cause concurrent problem.

      In our case, jobC will rollback jobA mdt commit which has been succeed commited. So, the data table timeline has the repleaseCommit instance, but mdt without this update, it cause partition path be deleted and can not reserve the latest file split in our case

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            KnightChess KnightChess
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: