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

Fix for failing segment replication delete integration test #3819

Closed
wants to merge 3 commits into from

Conversation

Poojita-Raj
Copy link
Contributor

Description

The delete operation integration test was failing due to the calculation of recoveryDiff used by the getFiles method to get the files needed as specified by the checkpoints.

Issues Resolved

Resolves #3787

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

mch2 and others added 2 commits June 30, 2022 10:26
  1. Ping the primary to fetch its TRANSLOG_UUID
  2. Creates an empty store and local xlog using the primary's uuid.
  3. Starts the engine
  4. Wipes the local index (files will be replaced during copy).
  5. On getCheckpointMetadata creates retention lease and initiates tracking, and refreshes the primary.
  6. Copies segments & before completing recovery, replays a LuceneChangesSnapshot on the replica from its in-memory infos.

Signed-off-by: Marc Handalian <handalm@amazon.com>
Signed-off-by: Poojita Raj <poojiraj@amazon.com>
@Poojita-Raj Poojita-Raj requested review from a team and reta as code owners July 8, 2022 00:35
@Poojita-Raj Poojita-Raj requested a review from mch2 July 8, 2022 00:36
@Poojita-Raj Poojita-Raj marked this pull request as draft July 8, 2022 00:39
@github-actions
Copy link
Contributor

github-actions bot commented Jul 8, 2022

Gradle Check (Jenkins) Run Completed with:

Signed-off-by: Poojita Raj <poojiraj@amazon.com>
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Segment Replication] [BUG] Document update action fails segment replication
3 participants