elastic / elasticsearch-cloud-aws

AWS Cloud Plugin for Elasticsearch
https://github.com/elastic/elasticsearch/tree/master/plugins/discovery-ec2
577 stars 181 forks source link

Disable response metadata cache. #208

Closed rmuir closed 9 years ago

rmuir commented 9 years ago

This cache is only used for diagnostic purposes, but can force objects from every response to the old generation.

Fixes #193

kimchy commented 9 years ago

LGTM, great stuff @rmuir! @dadoonet I think this change will warrant a new release?

rmuir commented 9 years ago

I pushed to master, let me know if we should backport to any other branches here.

dadoonet commented 9 years ago

@rmuir yes. Could you backport that to es-1.x, es-1.5 and es-1.4? We will release 2.4.x soonish I think.

rmuir commented 9 years ago

I backported to those branches. Backporting was smooth, except in the case of es-1.4, note that I had to bump the es version in the POM from 1.4.5-SNAPSHOT to 1.4.6-SNAPSHOT.