handle master failover with open replica forests