Hi, all
There are three parts of improvment.
1. Change the API between the client of ccm library. Thus we can provide more
information to the client. We have ocf_membership.h already. However, it was
not implemented.
Maybe we can start based on ocf_memebership.h.
2. The communication between the ccm library and ccm is a little redundent as I
understand.
I will simplify this part. This will not affect the client, the api, or the
communication
between nodes.
3. The algorithm of CCM. If we need improve the performance or something like
that, we need
change the algorithm of CCM. But this may cause the change of messages between
nodes.
So we should not do this except we meet a problem which can't deal with in
other way.
I won't do this change.
So what I need your suggestion is the first part.
Of cause the comment on other two parts are welcome too.
Thanks.
Guochun Shi wrote:
Zhen,
Alan may have mentioned you already but I want to emphasize it since I
forgot it lots of times :)
CCM should keep back compatibility as much as possible while you change it.
Other than that I think it is ok to change it anyway you want it. As far
as I remember, there are some
redundent code/structure that you can simplify. Last time you mentioned
rewriting CCM, I am not sure if
it is a good idea since it involves lots of time and testing. Let me
know if I can help.
thanks
-Guochun
Huang Zhen wrote:
Hello,
With the development of heartbeat 2, CCM(membership) may need be
reorganized to fit some new requirement from CRM.
Like provide the whole node list of cluster whatever the node is
active or dead.
And we find we may need improve the performance of CCM.
Would you like to share your thoughts about how to improvment CCM?
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/
--
Best Regards,
Huang Zhen
Linux Technology Center
IBM China Development Lab, Beijing
Telno: (8610)82782244-2845
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/