gentics / mesh-incubator

Project which is home for planned enhancements for Gentics Mesh
3 stars 0 forks source link

Prevent Bogus Migrations #185

Open Jotschi opened 5 years ago

Jotschi commented 5 years ago

Don't run schema/microschema migrations when the autoPurge or description property gets updated.

philippguertler commented 5 years ago

Same for elasticsearch mapping changes. We should also check if reindexing all nodes of the migrated schema is necessary. Instead the reindex API should be used. https://www.elastic.co/guide/en/elasticsearch/reference/6.4/docs-reindex.html

philippguertler commented 5 years ago

An idea to achieve this is to separate field structure from other meta data. Only when the field structure changes a migration is necessary.

philippguertler commented 5 years ago

This will be resolved by #210