streams-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Franklin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (STREAMS-89) ElasticsearchPersistWriters have incorrect totalOutstanding counts
Date Wed, 21 May 2014 13:58:38 GMT

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

Matt Franklin commented on STREAMS-89:
--------------------------------------

Turns out the counts were just being updated without proper synchronization.  To prevent against
the case where the listener does not actually fire, I suggest we track the open requests.
 On close, we interrogate them to see if they completed and didn't tell us.

> ElasticsearchPersistWriters have incorrect totalOutstanding counts
> ------------------------------------------------------------------
>
>                 Key: STREAMS-89
>                 URL: https://issues.apache.org/jira/browse/STREAMS-89
>             Project: Streams
>          Issue Type: Bug
>            Reporter: Matt Franklin
>            Assignee: Matt Franklin
>
> The ActionListener in ElasticsearchPersistWriter can fail to fire, resulting in an incorrect
count of items sent to elasticsearch.  This in turn results in a Thread interrupt exception
as the writer is forcibly terminated on shutdown hook.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message