Skip to content
This repository has been archived by the owner on Jun 1, 2021. It is now read-only.

Wip 286 disaster recovery enhancements #308

Merged
merged 1 commit into from
Sep 20, 2016

Conversation

volkerstampa
Copy link
Contributor

No description provided.

@volkerstampa volkerstampa added this to the 0.8 milestone Sep 12, 2016
@volkerstampa volkerstampa self-assigned this Sep 12, 2016
val filter = sourceConnector.connection.filters.get(target.logName) match {
case Some(f) => f
case None => NoFilter
if (sourceLogIds.forall(_.contains(source.logId))) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not having a replicationLinks: Set[ReplicationLink] parameter instead if callers want to control which replicators should be set up? All callers have access to the SourceConnector.links method to obtain the links they need.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But they do not have access to the ReplicationEndpointInfo that they have to provide to the links methods, right? In particular ReplicationEndpoint.activate does not have access to an ReplicationEndpointInfo, but even in Acceptor.recovering the links might be across several endpoints. Or am I missing something?

@krasserm
Copy link
Contributor

LGTM

@volkerstampa volkerstampa force-pushed the wip-286-disaster-recovery-enhancements branch 3 times, most recently from fc34251 to 40f7128 Compare September 20, 2016 08:31
- use dedicated message for resetting remote replication progress
- replace println progress logging by using akka-log
- add tests for
  - recovery after upgrade
  - simultaneous recovery
- start event recovery from filtered connections *after* event recovery
  from unfiltered connections is finished
- test recovery over filtered/unfiltered connections
- adjust local sequence nr when receiving replicated events
- remove sequence no gap detection as there might be gaps in case of
  incomplete disaster recovery

- closes #286
@volkerstampa volkerstampa force-pushed the wip-286-disaster-recovery-enhancements branch from 40f7128 to 0edb9e7 Compare September 20, 2016 09:33
@volkerstampa volkerstampa merged commit e334859 into master Sep 20, 2016
@krasserm krasserm deleted the wip-286-disaster-recovery-enhancements branch September 27, 2016 13:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants