You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Navina Ramesh (JIRA)" <ji...@apache.org> on 2016/01/19 20:38:39 UTC
[jira] [Updated] (SAMZA-857) Missing break in
RocksDbOptionsHelper#options()
[ https://issues.apache.org/jira/browse/SAMZA-857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Navina Ramesh updated SAMZA-857:
--------------------------------
Fix Version/s: 0.10.1
> Missing break in RocksDbOptionsHelper#options()
> -----------------------------------------------
>
> Key: SAMZA-857
> URL: https://issues.apache.org/jira/browse/SAMZA-857
> Project: Samza
> Issue Type: Bug
> Reporter: Ted Yu
> Assignee: Tao Feng
> Priority: Minor
> Fix For: 0.10.1
>
>
> Here is related code:
> {code}
> case "none":
> compressionType = CompressionType.NO_COMPRESSION;
> default:
> log.warn("Unknown rocksdb.compression codec " + compressionInConfig + ", overwriting to Snappy");
> {code}
> Since CompressionType.NO_COMPRESSION is chosen for the "none" case, the call to log.warn() shouldn't be executed.
> A break was missing for the "none" case.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)