[
https://issues.apache.org/jira/browse/SAMZA-2305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17031028#comment-17031028
]
Nicholas Hwang commented on SAMZA-2305:
---------------------------------------
[~bharathkk] has this fix been shipped in a release? i couldn't find evidence
of it in any release notes. thanks!
> Stream processor should ensure previous container is stopped during a
> rebalance
> -------------------------------------------------------------------------------
>
> Key: SAMZA-2305
> URL: https://issues.apache.org/jira/browse/SAMZA-2305
> Project: Samza
> Issue Type: Bug
> Reporter: Bharath Kumarasubramanian
> Assignee: Bharath Kumarasubramanian
> Priority: Major
> Time Spent: 5h 40m
> Remaining Estimate: 0h
>
> In standalone, when we have a rebalance before the container has started
> successfully with the previous job model, OnJobModelExpired does a no-op. It
> happens since the stream processor doesn’t transition to RUNNING until the
> container callback gets invoked. OnJobModelExpired, assumes the processor is
> still in the REBALANCE phase and does a no-op.
>
> Often times, containers take longer time to start. Especially stateful
> containers that have large state to restore. In those scenarios, if a
> rebalance happens before the container has started successfully, processors
> in the quorum will run with inconsistent job model.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)