You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2016/01/18 23:18:39 UTC

[jira] [Created] (SAMZA-857) Missing break in RocksDbOptionsHelper#options()

Ted Yu created SAMZA-857:
----------------------------

             Summary: 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
            Priority: Minor


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)