[POC] Cross Cluster Replication as a core component #7222
Labels
enhancement
Enhancement or improvement to existing feature or request
Indexing:Replication
Issues and PRs related to core replication framework eg segrep
This issue documents the POC for Cross Cluster Replication in core.
Key Highlights:
What's covered:
As a user:
What's not covered:
Data flow from leader to follower:
Start Replication flow:
SupervisorReplicationTask
to monitor the overall replication process.SupervisorReplicationTask
will bootstrap andFollowerReplicationTask
per follower. This persistent task will monitor the states of follower cluster and react to events (like Follower cluster not responding, replication state: started/stopped/paused/resumed, etc)(not part of POC)IndexReplicationTask
will create the follower index with same settings & metadata as leader index.New index Creation:
Data sync flow:
RemoteStoreRefreshListener.afterRefresh
uploads the segments & segmentsInfo snapshot to the remote store.RemoteStoreSegmentUploadNotificationPublisher.notifySegmentUpload
Note: Notifying replica and followers can be be parallelized eventually.
The text was updated successfully, but these errors were encountered: