[ https://issues.apache.org/jira/browse/KAFKA-5937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16175657#comment-16175657 ]
ASF GitHub Bot commented on KAFKA-5937: --------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/kafka/pull/3913 > Improve ProcessorStateManager exception handling > ------------------------------------------------ > > Key: KAFKA-5937 > URL: https://issues.apache.org/jira/browse/KAFKA-5937 > Project: Kafka > Issue Type: Sub-task > Components: streams > Affects Versions: 0.11.0.0, 0.11.0.1 > Reporter: Matthias J. Sax > Assignee: Matthias J. Sax > Fix For: 1.0.0 > > > We identified the follow issues: > - constructor calls {{StateDirectory#directoryForTask() }} and wraps throw > ProcessorStateException with LockException and rethrows -> we should not > change the exception type here > - {{ProcessorStateManager#flush()}} loops through all stores and calls > {{StateStore#flush()}}; it stops on first {{Exception}} -> we should keep > looping and flush all remaining stores before rethrowing at the end -- This message was sent by Atlassian JIRA (v6.4.14#64029)