You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Eno Thereska (JIRA)" <ji...@apache.org> on 2017/05/04 19:20:04 UTC
[jira] [Assigned] (KAFKA-5174) RocksDb might stall in environments
with 1 core only
[ https://issues.apache.org/jira/browse/KAFKA-5174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eno Thereska reassigned KAFKA-5174:
-----------------------------------
Assignee: Eno Thereska
> RocksDb might stall in environments with 1 core only
> ----------------------------------------------------
>
> Key: KAFKA-5174
> URL: https://issues.apache.org/jira/browse/KAFKA-5174
> Project: Kafka
> Issue Type: Bug
> Components: streams
> Affects Versions: 0.10.2.1
> Reporter: Eno Thereska
> Assignee: Eno Thereska
>
> - there is a regression in 0.10.2.1 that impacts RocksDb's behaviour (details below for first impact) from this PR: https://github.com/apache/kafka/commit/f9660e16dafb9e1109704bdecb978b7046f0cc6b#diff-046ca566243518c88e007b7499ec9f51
> - worst-case impact: streams might not run out-of-box in deployments with 1 core only
> - workaround: no new jars needed for the workaround, only a config change that changes a RocksDb parameter, e.g. something like in this PR: https://github.com/confluentinc/examples/pull/117/files
> - full fix: add 1 to the current config (i.e., max cpus + 1) in the default settings
> The RocksDb code might have a bug itself, since when running with one core
> it both sets the number of compaction threads to 1 (https://github.com/facebook/rocksdb/blob/5.0.fb/util/options.cc#L762) AND the maximum number of compactions variable to 0 (https://github.com/facebook/rocksdb/blob/5.0.fb/util/options.cc#L760) which doesn't make much sense. I've sent a message in RocksDb channel.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)