Description
1. Create 2 clusters (A, B), 1 node each
2. Create ssl enabled cluster ref B -> A
3. Create replication B/default -> A/default
4. Regenerate ssl cert on A
5. Pause replication
6. Start replication
7. You'll see bunch of errors like this one: ":x509: certificate signed by unknown authority". Which is OK.
8. Edit cluster reference, specifying new certificate from A
9. You'll see the following errors:
2015-10-06 15:11:22 127.0.0.1:xmem_9f6d7a104b2973bde87710e7846f037d/default/default_127.0.0.1:12000_0:Failed to repair connections to target cluster.
2015-10-06 15:11:22 127.0.0.1:Can't move update state from 0 to 1
2015-10-06 15:11:12 127.0.0.1:xmem_9f6d7a104b2973bde87710e7846f037d/default/default_127.0.0.1:12000_1:Failed to repair connections to target cluster.
2015-10-06 15:11:12 127.0.0.1:Can't move update state from 0 to 1
10. Pause/Start of replication doesn't help
11. If you delete replication and create it again, everything gets back to normal