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

[Linux-cluster] libcman initial impressions.



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


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