Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-8699

Fix concurrency problem in rocksdb full checkpoint

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.5.0
    • 1.5.0
    • None

    Description

      In full checkpoint, `kvStateInformation` is not a copied object and it can be changed when writeKVStateMetaData() is invoking ... This can lead to problematic, which is serious.

      private void writeKVStateMetaData() throws IOException {
        // ...
              for (Map.Entry<String, Tuple2<ColumnFamilyHandle, RegisteredKeyedBackendStateMetaInfo<?, ?>>> column :
      				stateBackend.kvStateInformation.entrySet()) {
              }
        //...
      }
      

      Attachments

        Activity

          People

            sihuazhou Sihua Zhou
            sihuazhou Sihua Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: