Skip to content
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

[7.x] Store Template's mappings as bytes for disk serialization (#78746) #79522

Merged
merged 1 commit into from
Oct 19, 2021

Conversation

probakowski
Copy link
Contributor

Backports the following commits to 7.x:

)

This change the way we store mappings in `Template` during serialization
to disk - instead storing it as map we use byte array that we already
have. This avoids deserialization-serialization cycle during storing
cluster state on disk.
# Conflicts:
#	server/src/main/java/org/elasticsearch/cluster/coordination/ElasticsearchNodeCommand.java
@probakowski probakowski added backport auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) labels Oct 19, 2021
@elasticsearchmachine elasticsearchmachine merged commit 8fe8e6f into elastic:7.x Oct 19, 2021
@probakowski probakowski deleted the backport/7.x/pr-78746 branch October 19, 2021 23:15
@probakowski probakowski restored the backport/7.x/pr-78746 branch October 19, 2021 23:15
@probakowski probakowski deleted the backport/7.x/pr-78746 branch October 19, 2021 23:15
@probakowski probakowski restored the backport/7.x/pr-78746 branch October 19, 2021 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport v7.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants