Skip to content

[Backport 2.x] [Segment Replication] Add SegmentReplicationTargetService to orchestrate replication events.#4074

Merged
Rishikesh1159 merged 2 commits intoopensearch-project:2.xfrom
Rishikesh1159:backport/backport-3439
Aug 2, 2022
Merged

[Backport 2.x] [Segment Replication] Add SegmentReplicationTargetService to orchestrate replication events.#4074
Rishikesh1159 merged 2 commits intoopensearch-project:2.xfrom
Rishikesh1159:backport/backport-3439

Conversation

@Rishikesh1159
Copy link
Copy Markdown
Member

Description

Backport e9b19a0 from #3439

Issues Resolved

#3112

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 August 1, 2022 19:13
…ate replication events. (opensearch-project#3439)

* Add SegmentReplicationTargetService to orchestrate replication events.

This change introduces  boilerplate classes for Segment Replication and a target service
to orchestrate replication events.

It also includes two refactors of peer recovery components for reuse.
1. Rename RecoveryFileChunkRequest to FileChunkRequest and extract code to handle throttling into
ReplicationTarget.
2. Extracts a component to execute retryable requests over the transport layer.

Signed-off-by: Marc Handalian <handalm@amazon.com>

* Code cleanup.

Signed-off-by: Marc Handalian <handalm@amazon.com>

* Make SegmentReplicationTargetService component final so that it can not
be extended by plugins.

Signed-off-by: Marc Handalian <handalm@amazon.com>
Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Aug 1, 2022

Gradle Check (Jenkins) Run Completed with:

@Rishikesh1159 Rishikesh1159 merged commit 343045f into opensearch-project:2.x Aug 2, 2022
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.

3 participants