Hi, Lars,
yes, it is backwards-compatible.
In a mix version cluster, if the leader is in old version, the new field will
be not in the member list message,
then the other nodes will calculate the quorum themselves.
If the leader is in new version, but the some of other nodes are in old version,
the node with old version will ignore the new field in the message and
calculate the quorum itself.
And, I have run CTS for the patch with a mix version cluster.
Of cause, if someone would like to review it would be welcome.
Thank you for your reminder.
Lars Marowsky-Bree wrote:
On 2006-08-16T03:59:34, [email protected] wrote:
linux-ha CVS committal
Author : zhenh
Host :
Project : linux-ha
Module : membership
Dir : linux-ha/membership/ccm
Modified Files:
ccm.c ccm.h ccm_statemachine.c ccmclient.c ccmmsg.c
Log Message:
only the leader of ccm calculates the quorum and broadcasts to other nodes.
Is this backwards-compatible? If not, is that acceptable?
It does seem to change the wire-protocol:
@@ -71,7 +71,8 @@
#define CCM_COOKIE "ccmcookie" /* communication context */
#define CCM_NEWCOOKIE "ccmnewcookie" /* new communication context */
#define CCM_CLSIZE "ccmclsize" /* new cluster size */
-#define CCM_UPTIMELIST "ccmuptimelist" /*uptime list*/
+#define CCM_UPTIMELIST "ccmuptimelist" /*uptime list*/
+#define CCM_QUORUM "ccmquorum" /*do we have quorum?*/
Sincerely,
Lars Marowsky-Brée
--
Best Regards,
Huang Zhen
Linux-HA, Linux Technology Center, China Systems & Technology Lab
China Development Labs, Beijing Tel: 86-10-82782244 Ext. 2845
Email: [EMAIL PROTECTED]
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/