I am working on migrating mongodb 2.6 to 3.0.6, right now both members have latest version, but secondary have wiredTiger storage engine and primary have the default one, now I want to switch the secondary to Primary.
If anyone did this before please let me know if we do that there will be any issue in replication? I need to do this switch to make the other server also in wiredTiger storage engine.
As such, you can update members to use the WiredTiger storage engine in a rolling manner. Before changing all the members to use WiredTiger, you may prefer to run with mixed storage engines for some period.
Before enabling the new WiredTiger storage engine, ensure that all replica set/sharded cluster members are running at least MongoDB version 2.6.8, and preferably version 3.0.0 or newer.