kibana/rfcs/text
Rudolf Meijering ce441bdc32
RFC Improve saved object migrations algorithm (#84333)
* Instead of cloning, reindex legacy index

* Reindex for every v2 migration

* Use _reindex?require_alias=true and a write block toggle to prevent lost deletes

* Use a ..._reindex_in_progress alias so that waiting for and preventing other reindex operations is idempotent

The first version of the reindex block had only the instance which was able to mark the migration as complete
set and remove the write block. This means other instances couldn't know if any reindex operaitons were in
progress if the migration was already marked as complete. It also meant that a failure in this critical step
could result in a permanent write block.

* Revert "Use a ..._reindex_in_progress alias so that waiting for and preventing other reindex operations is idempotent"

This reverts commit 8baf9b13db.

* Revert "Use _reindex?require_alias=true and a write block toggle to prevent lost deletes"

This reverts commit d7237ca42c.

* Use reindex + clone as a way to prevent lost deletes

* Fix numbering and ignore index_not_found_exceptionfor temporary index

* Apply suggestions from code review

Co-authored-by: Josh Dover <me@joshdover.com>

Co-authored-by: Josh Dover <me@joshdover.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-10 13:54:52 +01:00
..
.gitkeep
0001_lifecycle_setup.md
0002_encrypted_attributes.md
0003_handler_interface.md
0004_application_service_mounting.md
0005_route_handler.md
0006_management_section_service.md
0007_lifecycle_unblocked.md
0008_pulse.md
0010_service_status.md Add plugin status API - take 2 (#76732) 2020-09-09 18:08:48 -06:00
0011_global_search.md
0011_reporting_as_an_api.md
0012_encryption_key_rotation.md
0013_saved_object_migrations.md RFC Improve saved object migrations algorithm (#84333) 2021-02-10 13:54:52 +01:00
0013_search_sessions.md [Search Sessions] Replace search session constants with kibana.yml configs (#88023) 2021-01-15 01:14:02 +02:00
0014_api_documentation.md RFC for automatically generated typescript API documentation for every plugins public services, types, and functionality (#86704) 2021-02-04 17:22:22 -05:00