HomeClusterLabs Projects

Low: daemons: Support cluster-wide sync points for multi IPC messages.

Description

Low: daemons: Support cluster-wide sync points for multi IPC messages.

Supporting cluster-wide sync points means attrd_expect_confirmations
needs to be called, and then attrd_send_message needs "true" as a third
argument. This indicates attrd wants confirmations back from all its
peers when they have applied the update.

We're already doing this at the end of attrd_client_update for
single-update IPC messages, and handling it for multi-update messages is
a simple matter of breaking that code out into a function and making
sure it's called.

Note that this leaves two other spots where sync points still need to be
dealt with:

Details

Provenance
clumensAuthored on Nov 16 2022, 5:37 PM
Parents
rP7099b9776675: Merge pull request #2950 from nrwahl2/nrwahl2-T106
Branches
Unknown
Tags
Unknown