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

Implement Dynamic Schema Update for Open Search #18487

Open
Tracked by #18484
nathansandi opened this issue May 14, 2024 · 0 comments
Open
Tracked by #18484

Implement Dynamic Schema Update for Open Search #18487

nathansandi opened this issue May 14, 2024 · 0 comments
Assignees
Labels
component/backend Related to a backend component component/tasklist Related to the Tasklist component/team

Comments

@nathansandi
Copy link
Contributor

nathansandi commented May 14, 2024

Description

We wanna have dynamic schema update in order to reduce the downtime, and replace the data migration strategy.

Solution

  • Verify difference over the index
  • In the case of index difference, the indices should be updated
  • The update should be applied over the Schema Startup on the application

Acceptance Criteria

  • Schema is updated after a change
  • Start/Update/Complete a Task should work fine after a schema update

PS:Remove the migration code is out of scope of this ticket (But a condition should be added). We will keep for while the migration code

@nathansandi nathansandi self-assigned this May 14, 2024
@nathansandi nathansandi added the component/backend Related to a backend component label May 14, 2024
@nathansandi nathansandi added the component/tasklist Related to the Tasklist component/team label May 14, 2024
nathansandi added a commit that referenced this issue May 31, 2024
…iff check (#18769)

## Description

- Apply integration tests for Open Search Dynamic schema updates

## Related issues

closes #18487
nathansandi added a commit that referenced this issue May 31, 2024
## Description

- Implement Validate index differences and Template differences for Open
Search
- Implement Update Schema on Elastic Search
- Update Open search properties to bring the configuration
- update createIndex and createTemplate methods from schema manager

Tests updates: 
- #18769 (Plus template diff
setup)
- #18812 (Migration tests)

## Related issues

closes #18487
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/backend Related to a backend component component/tasklist Related to the Tasklist component/team
Projects
None yet
Development

No branches or pull requests

1 participant