I tried to do this, but could not copy the set initialization.
Yes, the operation process is as follows:
- Don’t add examples
- Delete local database:
- Reinitialize a new replication set;
The principle is very simple, the copied node is already a member of a copy set, of course you are not allowed to reinitialize. However, this information is stored in some sets of the local library (you can see which sets are available if you are interested). Therefore, if these sets are deleted, the system will think that this is an uninitialized replication set. Then initialization can begin.
In fact, it can be done without deleting the local library and changing the contents of the tables in it. However, it may be more complicated. If you are interested, you can explore it yourself.