New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve how aliases are handled in the cluster state. #3410

Closed
martijnvg opened this Issue Jul 30, 2013 · 0 comments

Comments

Projects
None yet
1 participant
@martijnvg
Member

martijnvg commented Jul 30, 2013

No description provided.

@ghost ghost assigned martijnvg Jul 30, 2013

@martijnvg martijnvg closed this in a235a55 Jul 30, 2013

martijnvg added a commit that referenced this issue Jul 30, 2013

Improved how aliases are handled in the cluster state.
The following changes improved alias creation:
* Moved away from ImmutableMap to JCF's UnmodifiableMap. The ImmutableMap always made a copy, whereas the UnmodifiableMap just wraps the target map.
* Reducing the number of maps being created during the creation of MetaData and IndexMetadata.
* Changed IndexAliasesService's aliases from a copy on write ImmutableMap to ConcurrentMap.

Closes #3410

mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015

Improved how aliases are handled in the cluster state.
The following changes improved alias creation:
* Moved away from ImmutableMap to JCF's UnmodifiableMap. The ImmutableMap always made a copy, whereas the UnmodifiableMap just wraps the target map.
* Reducing the number of maps being created during the creation of MetaData and IndexMetadata.
* Changed IndexAliasesService's aliases from a copy on write ImmutableMap to ConcurrentMap.

Closes elastic#3410
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment