* Konstantin Belyavskiy <k.belyavskiy@xxxxxxxxxxxxx> [18/07/10 19:19]:
Rebase to 1.10 - ok.
Using relay_stop() makes sense only with replica_on_relay_stop(), since
relay_stop() itself actually do nothing with consumers.
Regarding replica_on_relay_stop(), replica should be in "orphan" mode
to avoid assertion in replica_delete(). And also there is a problem with
monitoring, since replica will leave replication cluster and thus silent the
error.
On other hand, in case of implementation based on removing consumer,
replica, if being active again, will get an LSN gap and we will see an error.
1. Please give feedback on this section.
2. If not using relay_stop(), which branch use as a base 1.9 or 1.10?
Could you write a test with twoWhich xlog, the same one or different for each replicas?
"abandoned" replicas, each holding an xlog file?