You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Xintong Song (Jira)" <ji...@apache.org> on 2021/01/20 15:02:01 UTC

[jira] [Updated] (FLINK-14159) flink rocksdb StreamCompressionDecorator not right

     [ https://issues.apache.org/jira/browse/FLINK-14159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xintong Song updated FLINK-14159:
---------------------------------
    Fix Version/s:     (was: 1.10.3)
                   1.10.4

> flink rocksdb StreamCompressionDecorator not right
> --------------------------------------------------
>
>                 Key: FLINK-14159
>                 URL: https://issues.apache.org/jira/browse/FLINK-14159
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / State Backends
>    Affects Versions: 1.9.0
>            Reporter: jackylau
>            Priority: Major
>             Fix For: 1.13.0, 1.11.4, 1.10.4
>
>
> 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?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)