Repository navigation
DAOS-19937 object: fix convert cond TX restart - #19485
wangshilong wants to merge 3 commits into
Conversation
|
Ticket title is 'Conditional update via convert TX fails or crashes when the TX restarts' |
A sub-task failing with -DER_TX_RESTART is retried by the convert TX, but its error code still propagates to the parent task and fails the retried operation. Reset it once handled, as dc_tx_convert_cb() does. The per-akey path also registered its callback on the parent, which may complete the parent inside its own completion callback and corrupt its callback list. Move the callback to a body-less aggregation task. Also fix error paths of the condition check tasks that could close the TX twice, and hold a TX reference across dc_tx_convert_post(). Add test IO58 with a dedicated DAOS_FAIL_TX_CONVERT_RESTART fail loc injecting the restart. Signed-off-by: Wang Shilong <shilong.wang@hpe.com>
9b9a0ca to
07fc778
Compare
|
Test stage Functional on EL 9 completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-19485/3/testReport/ |
|
Test stage Unit Test completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-19485/4/testReport/ |
|
Test stage Unit Test bdev completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-19485/4/testReport/ |
|
Test stage Unit Test with memcheck completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-19485/4/testReport/ |
|
Test stage Functional on EL 9 completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-19485/4/testReport/ |
|
Test stage Functional Hardware Medium Provider MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-19485/4/execution/node/1751/log |
A sub-task failing with -DER_TX_RESTART is retried by the convert TX, but its error code still propagates to the parent task and fails the retried operation. Reset it once handled, as dc_tx_convert_cb() does.
The per-akey path also registered its callback on the parent, which may complete the parent inside its own completion callback and corrupt its callback list. Move the callback to a body-less aggregation task.
Add test IO58 with DAOS_FAIL_TX_CONVERT injecting the restart.
Steps for the author:
After all prior steps are complete: