DAOS-11828 dtx: handle excluded participant as prepared when DTX resync
During DTX resync, if non-leader is excluded, handle it as 'prepared'. If other non-leaders are also 'prepared' then related DTX maybe still committable or 'corrupted'. The subsequent DTX resync logic will handle related things, see dtx_verify_groups().
More fixes:
-
"-DER_INPROGRESS" for DTX RPC reply is normal, not error.
-
DTX RPC should not skip the in-drain target.
Signed-off-by: Fan Yong [email protected]
Bug-tracker data: Ticket title is 'Excluded target may be cause DTX resync failure' Status is 'In Progress' Job should run at elevated priority (3) https://daosio.atlassian.net/browse/DAOS-11828
Test stage Functional Hardware Large completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-10490/1/execution/node/1138/log
Test stage Functional Hardware Medium completed with status FAILURE. https://build.hpdd.intel.com/job/daos-stack/job/daos/job/PR-10490/2/display/redirect
Test stage Functional Hardware Large completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-10490/4/execution/node/1177/log
Test stage Functional Hardware Medium completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-10490/7/execution/node/1084/log
Test stage Functional Hardware Medium completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-10490/8/execution/node/1084/log
Ping @daos-stack/daos-gatekeeper , thanks!