Skip to content

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

Merged
elasticsearchmachine merged 1 commit intoelastic:7.xfrom
probakowski:backport/7.x/pr-78746
Oct 19, 2021
Merged

[7.x] Store Template's mappings as bytes for disk serialization (#78746)#79522
elasticsearchmachine merged 1 commit intoelastic:7.xfrom
probakowski:backport/7.x/pr-78746

Conversation

@probakowski
Copy link
Copy Markdown
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