DAOS-10037 mgmt: Add incarnation to GroupUpdateReq
This is a prerequisite for implementing the following behavior as part of the DAOS-10037 design.
- When modifying the primary group, if the incarnation of a rank increases, mark the rank and its epi as being alive.
This is necessary because of the following scenario.
- When a rank X rejoins a system, the rank Y that is responsible for broadcasting the latest system membership to every member, including rank X, may think that rank X is dead and cancel the broadcast RPC to rank X. Hence, rank X won’t be able to initialize its local PG.
Signed-off-by: Li Wei [email protected] Required-githooks: true
Test stage checkpatch completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-9371/1/execution/node/132/log
Test stage Unit Test completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-9371/1/execution/node/703/log
Bug-tracker data: Ticket title is 'Use SWIM info to cancel RPCs among engines' Status is 'In Progress' https://daosio.atlassian.net/browse/DAOS-10037
Test stage checkpatch completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-9371/4/execution/node/146/log
LGTM, this PR is adding the incarnation information into the database and a subsequent PR will use the added information.
Thanks, Tom. Just a clarification: The incarnation info is already in the database (if I'm not mistaken); this PR ships the info with GroupUpdateReq, and yes, a follow-on PR will make use the info.
LGTM, this PR is adding the incarnation information into the database and a subsequent PR will use the added information.
Thanks, Tom. Just a clarification: The incarnation info is already in the database (if I'm not mistaken); this PR ships the info with GroupUpdateReq, and yes, a follow-on PR will make use the info.
Right sorry I meant that it was added to the GroupMap in the database, thanks for the clarification.
LGTM, this PR is adding the incarnation information into the database and a subsequent PR will use the added information.
Thanks, Tom. Just a clarification: The incarnation info is already in the database (if I'm not mistaken); this PR ships the info with GroupUpdateReq, and yes, a follow-on PR will make use the info.
Right sorry I meant that it was added to the GroupMap in the database, thanks for the clarification.
Cool. If it were a database addition, we'd have an upgrade/downgrade problem. Thanks.
Thanks for the quick responses, @tanabarr, @mjmac, and @kjacque.