[Linux-ha-dev] Re: [mgmt][patch6]Replace uuid with meaningful name

Lars Marowsky-Bree lmb at suse.de
Wed Aug 29 04:37:11 MDT 2007


On 2007-08-29T17:06:45, Yan Gao <ygao at novell.com> wrote:

> mgmt patch 6:
> http://coolpix.a-s-k.hk/~gaoyan/heartbeat-0727-replace-uuid.patch
> 
> Signed-off-by: Yan Gao <ygao at novell.com>
> 
> Description:
> Use meaningful id instead of UUID for convenience of adding similar
> resources just by replacing appropriate pattern. 

This one is slightly more problematic, as the ids could be used several
times this way (the chance of colliding with a UUID is close to zero).
Besides, duplicating all the info - rsc id, attribute set, resource name
- in the ID is not really useful either ;-)

So, I'm not sure about this change. In particular, how do you propose
to handle ID collisions?


Regards,
    Lars

-- 
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde



More information about the Linux-HA-Dev mailing list