[ 
https://issues.apache.org/jira/browse/KAFKA-4913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16059544#comment-16059544
 ] 

ASF GitHub Bot commented on KAFKA-4913:
---------------------------------------

GitHub user dguy opened a pull request:

    https://github.com/apache/kafka/pull/3410

    KAFKA-4913: prevent creation of window stores with less than 2 segments

    Throw IllegalArgumentException when attempting to create a `WindowStore` 
via `Stores` or directly with `RocksDBWindowStoreSupplier` when it has less 
than 2 segments.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dguy/kafka kafka-4913

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/3410.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3410
    
----
commit 16a0772f39a91195941cdb4be9e4639bdb20c84e
Author: Damian Guy <[email protected]>
Date:   2017-06-22T15:30:48Z

    prevent creation of window store with < 2 segments

----


> creating a window store with one segment throws division by zero error
> ----------------------------------------------------------------------
>
>                 Key: KAFKA-4913
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4913
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>    Affects Versions: 0.10.2.0
>            Reporter: Xavier Léauté
>            Assignee: Damian Guy
>             Fix For: 0.11.0.1
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to