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

[Segment Replication] Write a test for mixed cluster segrep enabled POC #6346

Closed
Poojita-Raj opened this issue Feb 16, 2023 · 1 comment
Closed
Assignees
Labels
enhancement Enhancement or improvement to existing feature or request Indexing:Replication Issues and PRs related to core replication framework eg segrep

Comments

@Poojita-Raj
Copy link
Contributor

This is the first step as part of the POC in issue #6211 :

Create a test that fails when mixed clusters with segment replication enabled does not work as expected.

Starting with the test we can work backwards to create a poc. Once this test passes with the poc, we can then revisit all the components to ensure a strong testing framework by adding more unit and integration tests.

Test specifications:

  • Create a segment replication enabled cluster with 1 cluster manager and 2 data nodes all on the same OS version.
  • Set up 1 replica for this cluster.
  • Check that the indexing, deleting and updating operations take place as expected.
  • Change version of replica nodes to a higher version and again check that indexing, deleting and updating operations take place as expected.
  • Update primary nodes version to the same as the replica. Again check that indexing, deleting and updating operations take place as expected.
  • Now update the primary yet again. This time if mixed cluster POC is not correctly implemented, it will not be able to perform the indexing, deleting and updating operations without error.
@Poojita-Raj Poojita-Raj added enhancement Enhancement or improvement to existing feature or request untriaged labels Feb 16, 2023
@Poojita-Raj Poojita-Raj self-assigned this Feb 16, 2023
@Bukhtawar Bukhtawar added the Indexing:Replication Issues and PRs related to core replication framework eg segrep label Jul 27, 2023
@Poojita-Raj
Copy link
Contributor Author

Closed this out as this solution was discarded in favor of the shard_movement_strategy setting as mentioned in #3881

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request Indexing:Replication Issues and PRs related to core replication framework eg segrep
Projects
None yet
Development

No branches or pull requests

4 participants