Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-21352 FLIP-158: Generalized incremental checkpoints
  3. FLINK-23367

testKeyGroupedInternalPriorityQueue does not dispose ChangelogDelegateEmbeddedRocksDB properly, and fails the test

    XMLWordPrintableJSON

Details

    Description

      The set of `testKeyGroupedInternalPriorityQueue` for `ChangelogDelegateEmbeddedRocksDBStateBackendTest` does not dispose rocksdb properly.

      It seems it creates one more than needed column family in the `ChangelogDelegateEmbeddedRocksDBStateBackendTest` case comparing to `EmbeddedRocksDBStateBackend`

      // ... continue with the ones created by Flink...
      for (RocksDbKvStateInfo kvStateInfo : kvStateInformation.values())

      { RocksDBOperationUtils.addColumnFamilyOptionsToCloseLater( columnFamilyOptions, kvStateInfo.columnFamilyHandle); IOUtils.closeQuietly(kvStateInfo.columnFamilyHandle); }

      Attachments

        Issue Links

          Activity

            People

              yunta Yun Tang
              ym Yuan Mei
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: