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

schemas: when schema mapping got updated, recreate indices in ES and reindex records #1346

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

annatrz
Copy link
Contributor

@annatrz annatrz commented Nov 14, 2019

  • also add SimplifiedSchemaSerializer

Signed-off-by: Anna Trzcinska [email protected]

@annatrz annatrz force-pushed the reindex-on-update-mapping-for-schema branch 4 times, most recently from 60bc343 to 81b4789 Compare November 15, 2019 14:21
@coveralls
Copy link

coveralls commented Nov 15, 2019

Coverage Status

Coverage increased (+0.4%) to 67.551% when pulling b1523ae on annatrz:reindex-on-update-mapping-for-schema into e8a6880 on cernanalysispreservation:master.

@annatrz annatrz force-pushed the reindex-on-update-mapping-for-schema branch 4 times, most recently from 0c9e87c to 64754a3 Compare November 15, 2019 15:28
@annatrz annatrz marked this pull request as ready for review November 15, 2019 15:34
@annatrz annatrz force-pushed the reindex-on-update-mapping-for-schema branch 2 times, most recently from 43fbd01 to 2400d3c Compare November 18, 2019 10:08
@annatrz annatrz force-pushed the reindex-on-update-mapping-for-schema branch 17 times, most recently from a679aad to 74bf3f5 Compare November 18, 2019 14:05
@annatrz annatrz force-pushed the reindex-on-update-mapping-for-schema branch 10 times, most recently from 43bfca2 to 9bd9a70 Compare November 20, 2019 16:02
* signals on mappings update
* recreate indices on mappings update (del -> create)
* reindex all records belonging to updated schema
* change ```cap fixtures schemas``` to update schemas in the db (before was
just skipping if schema already existed in the db), triggering ES
changes in reindexing

Signed-off-by: Anna Trzcinska <[email protected]>
@annatrz annatrz force-pushed the reindex-on-update-mapping-for-schema branch from 9bd9a70 to b1523ae Compare November 20, 2019 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants