We are having a scenario where couch base cluster cb1 is connected to sync gateway sg1 and couch base cluster cb2 is connected to sync gateway sg2.
We have sync gateway to sync gateway replication running between sg1 and sg2.
The application is connected to sg1. but in some circumstances we need to switch the application from sg1 to sg2. Ideally the data will eventually consistent because the replication is running between them.
What is the best strategy to use while switching URLs of sync gateways.
Should we only stop the replication and change url and then restart the sync or should we create a new manager, database, Replication object with the new URL.
Thanks in advance.