>>> Tim Serong <tser...@suse.com> schrieb am 01.12.2011 um 10:19 in Nachricht <4ed74691.9000...@suse.com>: > On 12/01/2011 09:10 AM, Ulrich Windl wrote: >>>>> "Gao,Yan"<y...@suse.com> schrieb am 01.12.2011 um 06:55 in Nachricht > > <4ed716be.9090...@suse.com>: > >> Hi, > >> > >> On 11/30/11 21:35, Ulrich Windl wrote: > >>> Hi! > >>> > >>> Simple question: when is the attribute "cib-last-written" in XML's "cib" > >> element updated? > >> When "//cib/configuration" is changed. > > > > So why isn't that an attribute of<configuration> then? > > From: > http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/c > h-cluster-options.html > > "The reason for these fields to be placed at the top level instead of > with the rest of cluster options is simply a matter of parsing. These > options are used by the configuration database which is, by design, > mostly ignorant of the content it holds. So the decision was made to > place them in an easy to find location."
Hi! I wonder about that usefulness of that value, especially as any configuration change seems to increase the epoch anyway. I never saw that CRM cares about the cib-last-written string. When talking about "easy to find locations", it was a mistake to use XML anyway ;-) Regards, Ulrich _______________________________________________ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems