-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Segment Replication][Rolling upgrade] Create integration tests to simulate rolling upgrade scenarios #7490
Comments
We already have rollling upgrade and mixed cluster test support. Added both as part of PR #7537 |
PR #7537 covers use case with 3 node cluster having 3 primary, 1 replica shards. This setup simulates the required behavior where replica and primary run on different OS version. The nodes are always upgraded deterministically based on node names. @Poojita-Raj : Let know if you feel adding additional tests with different setup will be useful.
I think this is ideal (and easier) to do via unit tests rather than bwc integration test.
This is verified in the test
This is verified via the rolling upgarde tests. |
In order to have bwc test running on different Lucene codec versions, hacked
Having this setup immediately identifies breaking functionality when there are actual differing codecs during upgrades
2.x branch (bwc branch): https://github.com/dreamer-89/OpenSearch/commits/2.8.0_Lucene94Codec |
Verified that existing segment replication breaks while building SegmentInfos object from copied over file from primary.
|
Is your feature request related to a problem? Please describe.
Create integration tests that simulate the behavior of a rolling upgrade.
This would include:
The text was updated successfully, but these errors were encountered: