-
Notifications
You must be signed in to change notification settings - Fork 20
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
Preparation upgrade elasticsearch 7.10 bsds
#2423
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
elishowk
commented
May 31, 2023
elishowk
changed the title
upgrade elasticsearch for dev
Upgrade elasticsearch docker & pkg
May 31, 2023
elishowk
force-pushed
the
fix/upgrade-elasticsearch-dev
branch
2 times, most recently
from
May 31, 2023 12:09
6a72997
to
8cd96a0
Compare
elishowk
changed the title
Upgrade elasticsearch docker & pkg
Preparation upgrade elasticsearch server 7.10
Jun 1, 2023
elishowk
changed the title
Preparation upgrade elasticsearch server 7.10
Preparation upgrade 18/07/2023 elasticsearch 7.10 Jun 14, 2023
bsds
elishowk
commented
Jun 14, 2023
elishowk
changed the title
Preparation upgrade 18/07/2023 elasticsearch 7.10
Preparation upgrade elasticsearch 7.10 Jun 26, 2023
bsds
bsds
elishowk
force-pushed
the
fix/upgrade-elasticsearch-dev
branch
2 times, most recently
from
June 28, 2023 10:42
0663265
to
6ad3f18
Compare
elishowk
force-pushed
the
fix/upgrade-elasticsearch-dev
branch
from
July 28, 2023 07:37
7477e0b
to
5656a3e
Compare
GaelFerrand
approved these changes
Jul 28, 2023
Riron
approved these changes
Jul 28, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Il faut coordonner la montée de version de l'ES de prod ? Comment ca se passe ?
elishowk
force-pushed
the
fix/upgrade-elasticsearch-dev
branch
2 times, most recently
from
July 31, 2023 10:22
33aee21
to
4c82f09
Compare
elishowk
force-pushed
the
fix/upgrade-elasticsearch-dev
branch
from
August 4, 2023 12:23
4c82f09
to
477cbc8
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
elishowk
added a commit
that referenced
this pull request
Aug 18, 2023
elishowk
added a commit
that referenced
this pull request
Aug 19, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Préparer le passage à Elasticsearch 7.10 pour l'index
bsds
sur notre hébergementnpm i
etdocker-compose down && docker-compose --build up
Procédures
ELASTIC_SEARCH_URL
Mode A (une indexation complète, mais downtime ES à craindre)
bsds
mais les erreurs 500 du back-end pourront avoir déclenché des alertes si ES n'est plus disponible à un momentMode B (double indexation complète, mais pas de downtime ES à craindre)
dev
et changer la variable d'envELASTIC_SEARCH_URL
avant de lancer une réindexation complète, tout en passant à 4 container 2XL les worker d'indexationELASTIC_SEARCH_URL
dans l'env des api staging et productionChangements dans le code
ELASTIC_SEARCH_URL
d'être transmise à la job queue pour pourvoir avoir des process de job queue qui recoivent dans les job data l'url cible voule_doc
disparu avec la v7 https://www.elastic.co/guide/en/elasticsearch/reference/7.17/removal-of-types.htmlExtra : allègement des réponses
bulkIndex
Déjà présent sur l'indexation Sirene : https://github.com/MTES-MCT/trackdechets-sirene-search/blob/main/src/indexation/elasticSearch.helpers.ts#L199
Évite les réponses très volumineuses entre ES et node
Mettre à jour la documentation
Mettre à jour le change log
Documenter les manipulations à faire lors de la mise en production (sur le ticket Favro de release)
S'assurer que la numérotation des nouvelles migrations est bien cohérente
Informer le data engineer de tout changement de schéma DB