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

Resource leak in ListViaRangeSpeedMiniBenchmark

    Details

      Description

          final WriteOptions write_options = new WriteOptions()
              .setSync(false)
              .setDisableWAL(true);
      

      WriteOptions ultimately extends AbstractNativeReference where:

      public abstract class AbstractNativeReference implements AutoCloseable {
      

      WriteOptions instance should be closed.

          final RocksDB rocksDB = RocksDB.open(options, rocksDir.getAbsolutePath());
      

      RocksDB should be closed as well.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mingleizhang mingleizhang
                Reporter:
                yuzhihong@gmail.com Ted Yu
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: