ConfigurationPropertiesProvider leaks the configuration Properties

Description

During development of the Elasticsearch integration, a class ConfigurationPropertiesProvider was added as temporary helper to access all configuration properties in the scope of an IndexManager.

We should avoid this and not keep references to the initial configuration Properties as they might contain rather large objects, including leaks when run in application servers.

I suspect we have other places which should be checked against this too.

Activity

Show:

Gunnar MorlingApril 21, 2016 at 4:07 PM

This one is rendered obsolete by PR https://github.com/hibernate/hibernate-search/pull/1074 for HSEARCH-2164.

Sanne GrinoveroFebruary 15, 2016 at 9:51 PM

Also wondering: should we make "non destructive create" as the default?

I wouldn't expect that a quickstart would require to set the index_management_strategy explicitly to create.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created February 15, 2016 at 9:32 PM
Updated September 5, 2016 at 6:42 PM
Resolved April 25, 2016 at 2:13 PM