You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/03/26 21:54:00 UTC

[jira] [Commented] (KAFKA-9770) Caching State Store does not Close Underlying State Store When Exception is Thrown During Flushing

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

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

cadonna commented on pull request #8368: KAFKA-9770: Close underlying state store also when flush throws
URL: https://github.com/apache/kafka/pull/8368
 
 
   When a caching state store is closed it calls its flush() method.
   If flush() throws an exception the underlying state store is not closed.
   
   This commit ensures that state stores underlying a caching state store
   are closed even when flush() throws.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Caching State Store does not Close Underlying State Store When Exception is Thrown During Flushing
> --------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-9770
>                 URL: https://issues.apache.org/jira/browse/KAFKA-9770
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>    Affects Versions: 2.6.0
>            Reporter: Bruno Cadonna
>            Assignee: Bruno Cadonna
>            Priority: Major
>
> When a caching state store is closed it calls its {{flush()}} method. If {{flush()}} throws an exception the underlying state store is not closed.  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)