Disable experimental code in RDS active bonding which performs
failovers across "failover groups" (HCAs). It causes
instabilities for some applications.
Orabug:
19430773
Signed-off-by: Mukesh Kacker <mukesh.kacker@oracle.com>
Acked-by: Rama Nichanamatlu <rama.nichanamatlu@oracle.com>
Signed-off-by: Guangyu Sun <guangyu.sun@oracle.com>
(cherry picked from commit
38d6d011e4757e38781830cc4eebd8d7a8b690fc)
}
}
+ /*
+ * Note: Failover across HCAs/Failover groups
+ * is experimental code that causes instabilities
+ * in some applications and disabled by
+ * default.
+ */
+#define RDS_EXPERIMENTAL_FAILOVER_ACROSS_HCAS_FAILOVER_GROUPS 0
+#if RDS_EXPERIMENTAL_FAILOVER_ACROSS_HCAS_FAILOVER_GROUPS
for (i = 1; i <= ip_port_cnt; i++) {
if ((i != port) &&
(ip_config[i].pkey == ip_config[port].pkey) &&
return i;
}
}
-
+#endif
return 0;
}