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

[esArchiver] stable archives #30477

Merged
merged 2 commits into from
Feb 11, 2019

Conversation

spalger
Copy link
Contributor

@spalger spalger commented Feb 8, 2019

When serializing documents to store in the archive, use a stable JSON stringify so that loading and saving the archive produces unchanged archives.

Note that 3ba5346 is just rebuilding all the archives to they use the stable sort internally.

@spalger spalger added the WIP Work in progress label Feb 8, 2019
@elasticmachine

This comment has been minimized.

@spalger spalger force-pushed the fix/esArchiver-stable-archives branch from db809ad to a114e6e Compare February 8, 2019 06:40
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@spalger spalger force-pushed the fix/esArchiver-stable-archives branch from a114e6e to 38b9db4 Compare February 11, 2019 17:43
@spalger spalger requested a review from chrisdavies February 11, 2019 17:44
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Contributor

@chrisdavies chrisdavies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@spalger spalger merged commit 133ba23 into elastic:master Feb 11, 2019
spalger pushed a commit to spalger/kibana that referenced this pull request Feb 11, 2019
* [esArchiver/save] serialize with stable json stringify

* [esArchives] rebuild all archives
spalger pushed a commit to spalger/kibana that referenced this pull request Feb 11, 2019
* [esArchiver/save] serialize with stable json stringify

* [esArchives] rebuild all archives
@spalger spalger removed the v6.7.0 label Feb 11, 2019
spalger pushed a commit that referenced this pull request Feb 12, 2019
* [esArchiver/save] serialize with stable json stringify

* [esArchives] rebuild all archives
spalger pushed a commit that referenced this pull request Feb 14, 2019
* [esArchiver/save] serialize with stable json stringify

* [esArchives] rebuild all archives
@spalger spalger deleted the fix/esArchiver-stable-archives branch August 18, 2020 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants