OpenSearch/server/src
Armin Braun b0f09b279f
Make Snapshot Logic Write Metadata after Segments (#45689) (#46764)
* Write metadata during snapshot finalization after segment files to prevent outdated metadata in case of dynamic mapping updates as explained in #41581
* Keep the old behavior of writing the metadata beforehand in the case of mixed version clusters for BwC reasons
   * Still overwrite the metadata in the end, so even a mixed version cluster is fixed by this change if a newer version master does the finalization
* Fixes #41581
2019-09-17 13:09:39 +02:00
..
main Make Snapshot Logic Write Metadata after Segments (#45689) (#46764) 2019-09-17 13:09:39 +02:00
test Make Snapshot Logic Write Metadata after Segments (#45689) (#46764) 2019-09-17 13:09:39 +02:00