Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-6629

Memory leak in elasticsearch rest appender

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • decanter-2.0.0, decanter-2.1.0, decanter-2.2.0
    • decanter-2.3.0
    • decanter
    • None

    Description

      The elasticsearch rest appender sends data to elasticsearch with a refresh triggered:

      client.performRequest("POST", endpoint, Collections.singletonMap("refresh", "true"), request); 

      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.

      Attachments

        Issue Links

          Activity

            People

              fpapon Francois Papon
              jbonofre Jean-Baptiste Onofré
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: