-
Notifications
You must be signed in to change notification settings - Fork 32
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
SO-4122: Implement index schema migrators #1250
Merged
Merged
Commits on Dec 11, 2023
-
fix(index): fix issues with index schema migration
- use proper mapping parameter for doCreateIndex() - add more verbose logging for the whole migration process - change the naming pattern of temporary index to `<index>-migrate-to-v<version-number>` - use small batch size when handling Commit documents - log reindex results upon successful execution - add more scenarios to automatically retry reindex operation if Elasticsearch rejects the attempt due to too many requests
Configuration menu - View commit details
-
Copy full SHA for fdde0eb - Browse repository at this point
Copy the full SHA fdde0ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 43b5283 - Browse repository at this point
Copy the full SHA 43b5283View commit details -
Configuration menu - View commit details
-
Copy full SHA for f956eb8 - Browse repository at this point
Copy the full SHA f956eb8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60f2da1 - Browse repository at this point
Copy the full SHA 60f2da1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03920c8 - Browse repository at this point
Copy the full SHA 03920c8View commit details
Commits on Dec 12, 2023
-
fix(index): pass in object mapper to DocumentMappingMigrator
- fall back to v1 for mappings where there is no _meta field present - use the schema version for the temporary index
Configuration menu - View commit details
-
Copy full SHA for 5031582 - Browse repository at this point
Copy the full SHA 5031582View commit details -
refactor(index): properly migrate revision documents by using...
...the revision ID field value which ensures that we override the existing document and not create a new one
Configuration menu - View commit details
-
Copy full SHA for 06c2244 - Browse repository at this point
Copy the full SHA 06c2244View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9d0ae6 - Browse repository at this point
Copy the full SHA a9d0ae6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 167d379 - Browse repository at this point
Copy the full SHA 167d379View commit details -
Configuration menu - View commit details
-
Copy full SHA for d87168e - Browse repository at this point
Copy the full SHA d87168eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0928599 - Browse repository at this point
Copy the full SHA 0928599View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63b868b - Browse repository at this point
Copy the full SHA 63b868bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9ee0c8 - Browse repository at this point
Copy the full SHA e9ee0c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a19449 - Browse repository at this point
Copy the full SHA 6a19449View commit details
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.