DAOS-11685 dtx: handle DTX abort by race
It is possible that some DTX on non-leader is blocked by long time bulk data transfer or DTX refresh, as to related RPC from DTX leader to non-leader for current operation get timeout, and then the DTX may be aborted by the DTX leader before current DTX complete on the non-leader locally. Under such case, the non-leader should break the operation for current DTX.
Signed-off-by: Fan Yong [email protected]
Bug-tracker data: Ticket title is 'Abort DTX by race on non-leader before current DTX complete locally' Status is 'In Progress' Job should run at elevated priority (3) https://daosio.atlassian.net/browse/DAOS-11685
Test stage Build on Leap 15 with Intel-C and TARGET_PREFIX completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-10392/1/execution/node/355/log
Test stage Build DEB on Ubuntu 20.04 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-10392/1/execution/node/288/log
Test stage Build RPM on EL 8 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-10392/1/execution/node/348/log
Test stage Build RPM on Leap 15 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-10392/1/execution/node/351/log
Test stage Functional Hardware Large completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-10392/2/execution/node/1005/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-10392/2/execution/node/1138/log
Test stage Functional Hardware Large completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-10392/3/execution/node/1138/log
Test stage Functional Hardware Medium completed with status UNSTABLE. https://build.hpdd.intel.com/job/daos-stack/job/daos//view/change-requests/job/PR-10392/4/testReport/(root)/