karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-6629) Memory leak in elasticsearch rest appender
Date Thu, 05 Mar 2020 14:54:00 GMT

    [ https://issues.apache.org/jira/browse/KARAF-6629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17052207#comment-17052207

ASF GitHub Bot commented on KARAF-6629:

fpapon commented on pull request #124: [KARAF-6629] Memory leak in elasticsearch rest appender
URL: https://github.com/apache/karaf-decanter/pull/124
   Remove refresh to avoid caching data by the http rest client.
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:

> Memory leak in elasticsearch rest appender
> ------------------------------------------
>                 Key: KARAF-6629
>                 URL: https://issues.apache.org/jira/browse/KARAF-6629
>             Project: Karaf
>          Issue Type: Bug
>          Components: decanter
>    Affects Versions: decanter-2.2.0
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Francois Papon
>            Priority: Major
>             Fix For: decanter-2.3.0
> The elasticsearch rest appender sends data to elasticsearch with a refresh triggered:
> {code:java}
> client.performRequest("POST", endpoint, Collections.singletonMap("refresh", "true"),
request); {code}
> The problem is that the refresh result is cached in the Elasticsearch REST client, causing
a bunch of useless HashMap.
> The "auto-refresh" is not needed anymore and should be removed.

This message was sent by Atlassian Jira

View raw message