[Pacemaker] racing crm commands... last write wins?

Lars Marowsky-Bree lmb at suse.com
Wed Apr 10 16:38:36 EDT 2013


On 2013-04-10T16:33:48, "Brian J. Murrell" <brian at interlinx.bc.ca> wrote:

> > crmsh uses a read+modify+replace cycle, if B reads after A has read
> > but before the replace has happened, data will be lost.
> Does crm_resource suffer from this problem or does it properly only send
> exactly the update to the CIB for the operation it's trying to achieve?

crm_resource doesn't suffer from this problem; by extension, the "crm
resource" family of commands doesn't either, it's "only" the crm
configure approach.


Regards,
    Lars

-- 
Architect Storage/HA
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde





More information about the Pacemaker mailing list