streams-dev mailing list archives

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


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:
>             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

View raw message