HomeClusterLabs Projects

Refactor: based: Improve functionization of forward_request()

Description

Refactor: based: Improve functionization of forward_request()

cib_process_request() is overlong and this helps slightly. The "if
needs_forward" block contained several lines that can be moved inside
forward_request().

While we're here, consolidate the redundant "client not interested"
trace messages into one place, add doxygen for forward_request, and
implement a few other best practices as appropriate.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on May 29 2023, 3:54 PM
Parents
rP766c4471770f: Refactor: based: Functionize checking if we should send replace notify
Branches
Unknown
Tags
Unknown