Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-50163

Fix Streaming RocksDB AcquireLock double release

    XMLWordPrintableJSON

Details

    Description

      The RocksDB implementation will run into a race condition with the acquireLock due to the completion listener in the following scenario: 

      Task 1 Task 2
      load() - acquire  
      commit() - release  
        load() - acquire()
      completionListener - release  

      Now RocksDB is thread unsafe as task 2 believes it holds the lock though the lock was released. 

      Attachments

        Issue Links

          Activity

            People

              liviazhu-db Livia Zhu
              liviazhu-db Livia Zhu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: