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

flink rocksdb StreamCompressionDecorator not right

    XMLWordPrintableJSON

Details

    Description

      I think the current flink rocksdb StreamCompressionDecorator is not right when calling method 

      getCompressionDecorator(executionConfig) ,which defalut value is false.That is to say, current compression is none.But I find rocksdb  using options.compression to specify the compression to use. By default it is Snappy, which you can see here https://github.com/facebook/rocksdb/wiki/RocksDB-Tuning-Guide. And I use rocksdb tool sstdump to find it is indeed snappy compression.

      So I think it should be return SnappyStreamCompressionDecorator.INSTANCE  rather than getCompressionDecorator( executionConfig) 

      Coud i commit a PR?

      Attachments

        Activity

          People

            Unassigned Unassigned
            jackylau Jacky Lau
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: