DAOS-17995 dlck: check container's metadata + small fixes: - #18916
DAOS-17995 dlck: check container's metadata + small fixes:#18916janekmi wants to merge 5 commits into
Conversation
|
Test stage Build on Leap 15 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-18916/1/execution/node/533/log |
72d0f24 to
63eace9
Compare
|
Test stage Build on Leap 15 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-18916/2/execution/node/533/log |
|
Test stage Build on Leap 15 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-18916/3/execution/node/535/log |
63eace9 to
2db0a3d
Compare
|
Test stage Build on Leap 15 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-18916/4/execution/node/533/log |
|
Test stage Build on Leap 15 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-18916/5/execution/node/538/log |
... small fixes: - fix memory leak in btr_nodes_check() - fix wrong argument processing in ck_report() - decrement indentation in case of an error in vos_pool_open_metrics() Signed-off-by: Jan Michalski <jan-marian.michalski@hpe.com>
2db0a3d to
dcf8502
Compare
|
Ticket title is 'dlck: check container's metadata' |
|
Test stage Build on Leap 15 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-18916/6/execution/node/533/log |
Signed-off-by: Jan Michalski <jan-marian.michalski@hpe.com>
|
Test stage Test RPMs on Leap 15 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-18916/7/execution/node/1197/log |
Signed-off-by: Jan Michalski <jan-marian.michalski@hpe.com>
|
Test stage Functional on EL 9 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-18916/7/execution/node/1309/log |
|
Test stage Test RPMs on Leap 15 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-18916/8/execution/node/1203/log |
| param.ip_flags = VOS_IT_FOR_CHECK; | ||
|
|
||
| return vos_iterate(¶m, VOS_ITER_COUUID, false, &anchors, cont_process, NULL, &cb_arg, | ||
| NULL); |
There was a problem hiding this comment.
Be as backend consistency verification utils, it is expected that one container corruption should not affect the checking of other containers in the same pool, or we can allow the user to specify fallout or fail-continue.
There was a problem hiding this comment.
Done. For now I adopted the minimal solution: check all containers unconditionally. If having an option to would be desirable we can always introduce it in the future.
| cont->vc_mod_epoch_bound = d_hlc_get(); | ||
|
|
||
| rc = vos_dtx_act_reindex(cont); | ||
| CK_PRINT(ck, CK_DBD_LIST_STR "...\n"); |
There was a problem hiding this comment.
Suggest to rename CK_DBD_LIST_STR as CK_ACT_DBD_LIST_STR. Because we maintain both active DXT table and committed DTX table in VOS. Here, we only reindex the active DTX table, then your logic only verifies the active DTX table blob.
| while (!UMOFF_IS_NULL(dbd_off)) { | ||
| int dbd_count = 0; | ||
|
|
||
| CK_PRINTF(ck, CK_DBD_FMT "\n", dbd_off); |
There was a problem hiding this comment.
CK_DBD_FMT => CK_ACT_DBD_FMT
There was a problem hiding this comment.
Actually this "DTX blob (off=%#lx)... " format can be used in the future for both blobs on the active and committed lists. There is nothing specific to active DTX blobs about it. What do you think? 🤔
... call this list active explicitly. Signed-off-by: Jan Michalski <jan-marian.michalski@hpe.com>
Signed-off-by: Jan Michalski <jan-marian.michalski@hpe.com>
Steps for the author:
After all prior steps are complete: