[Linux-ha-dev] More commit comments
beekhof at gmail.com
Mon Oct 2 07:52:46 MDT 2006
On 10/2/06, Huang Zhen <zhenhltc at cn.ibm.com> wrote:
> Andrew Beekhof wrote:
> > http://hg.linux-ha.org/dev?cmd=changeset;node=3b5785409c20
> > The name of this file is just awful:
> > lib/plugins/quorumd/2_0_8.c
> > What does 2_0_8 refer to? Are we planning to have each version use a
> > different implementation/algorithm?
> 2_0_8 is the protocol version. Different versons of heartbeat may share one same protocol.
Then 2_0_8 is definitely a bad name.
Including version numbers implies that 2_0_99 is better than 2_0_8
(not just different).
It also gives no clue as to what type of quorum it implements. Is it
disk-based? Majority-based? Arbitrated?
> When we add a new implementation, we just need put a new plugin with the new version.
> And when the client connects it will send the version of protocol.
> quorumd will call different plugin according to the version of protocol.
> So we don't need stop the quorumd to deploy new version of protocols.
More information about the Linux-HA-Dev