[Linux-cluster] libcman initial impressions.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Patrick,

Couple of things:

There's no interface to the service manager.  Is that intentional?

In cman_get_node_count(), you use GETMEMBERS - that's good, from there,
a user could allocate a buffer to call cman_get_nodes -- except, in
cman_get_nodes() you use GETALLMEMBERS -- which returns all nodes, past
and previous (IIRC).

This means, that if a node ever leaves the cluster, you can't use
cman_get_node_count() to figure out the size of the buffer needed to get
a current member list from cman_get_nodes()...

-- Lon


[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux