karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (Jira)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-6629) Memory leak in elasticsearch rest appender
Date Fri, 06 Mar 2020 05:03:00 GMT

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

ASF subversion and git services commented on KARAF-6629:
--------------------------------------------------------

Commit 8b994f604441600ef8723ecd0a30a23b1ad01a23 in karaf-decanter's branch refs/heads/master
from Jean-Baptiste Onofré
[ https://gitbox.apache.org/repos/asf?p=karaf-decanter.git;h=8b994f6 ]

Merge pull request #124 from fpapon/KARAF-6629

[KARAF-6629] Memory leak in elasticsearch rest appender

> 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
(v8.3.4#803005)

Mime
View raw message