Skip to content

Add CcrRestoreSourceService to track sessions (#36578)#36911

Merged
Tim-Brooks merged 3 commits intoelastic:6.xfrom
Tim-Brooks:backport_ccr_stuff
Dec 20, 2018
Merged

Add CcrRestoreSourceService to track sessions (#36578)#36911
Tim-Brooks merged 3 commits intoelastic:6.xfrom
Tim-Brooks:backport_ccr_stuff

Conversation

@Tim-Brooks
Copy link
Copy Markdown
Contributor

This commit is related to #36127. It adds a CcrRestoreSourceService to
track Engine.IndexCommitRef need for in-process file restores. When a
follower starts restoring a shard through the CcrRepository it opens a
session with the leader through the PutCcrRestoreSessionAction. The
leader responds to the request by telling the follower what files it
needs to fetch for a restore. This is not yet implemented.

Once, the restore is complete, the follower closes the session with the
DeleteCcrRestoreSessionAction action.

This commit is related to elastic#36127. It adds a CcrRestoreSourceService to
track Engine.IndexCommitRef need for in-process file restores. When a
follower starts restoring a shard through the CcrRepository it opens a
session with the leader through the PutCcrRestoreSessionAction. The
leader responds to the request by telling the follower what files it
needs to fetch for a restore. This is not yet implemented.

Once, the restore is complete, the follower closes the session with the
DeleteCcrRestoreSessionAction action.
@Tim-Brooks Tim-Brooks added >non-issue :Distributed/CCR Issues around the Cross Cluster State Replication features backport v6.7.0 labels Dec 20, 2018
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed

@Tim-Brooks Tim-Brooks merged commit e487f14 into elastic:6.x Dec 20, 2018
@Tim-Brooks Tim-Brooks deleted the backport_ccr_stuff branch December 18, 2019 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Distributed/CCR Issues around the Cross Cluster State Replication features >non-issue v6.7.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants