cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [Cluster-devel] fixing cpg names in 3.0.8?
@ 2010-01-12 16:24 David Teigland
  2010-01-12 16:00 ` Christine Caulfield
  0 siblings, 1 reply; 4+ messages in thread
From: David Teigland @ 2010-01-12 16:24 UTC (permalink / raw)
  To: cluster-devel.redhat.com

I just discovered that the cpg group names that fenced, dlm_controld and
gfs_controld use in cluster3 include a nul within the name length.  This
can happen because cpg names have both a string part and a length part,
and the length is currently being set to strlen + 1 instead of strlen.
It's harmless since all the code is making the same mistake, but it's an
obvious flaw.

You can easily see this by the trailing \x00 from corosync-cpgtool,

fenced:default\x00

If we fixed the length of the names, it would break internode
compatibility between 3.0.7 and 3.0.8 releases, e.g.

"fenced:default\x00" and "fenced:default" are two different groups.

AFAIK we're not yet guaranteeing rolling upgrade compatibility from one
3.0 release to the next, so I think I should go ahead and fix this, unless
anyone feels strongly otherwise?

Dave



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-01-12 17:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-12 16:24 [Cluster-devel] fixing cpg names in 3.0.8? David Teigland
2010-01-12 16:00 ` Christine Caulfield
2010-01-12 17:16   ` David Teigland
2010-01-12 16:55     ` Jan Friesse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).