Skip to content

DAOS-17861 cart: fix err handling in corpc (#17299)#17328

Merged
gnailzenh merged 3 commits intorelease/2.6from
lxz/corpc_err_fix_26
Jan 27, 2026
Merged

DAOS-17861 cart: fix err handling in corpc (#17299)#17328
gnailzenh merged 3 commits intorelease/2.6from
lxz/corpc_err_fix_26

Conversation

@liuxuezhao
Copy link
Copy Markdown
Contributor

  1. Some fail cases already set the rc by crt_corpc_fail_parent_rpc()/ crt_corpc_fail_child_rpc(), or called crt_corpc_complete() that will reply parent already, so need to reset rc to 0 to avoid call crt_hg_reply_error_send() again or drop refcount.
  2. Fix a refcount leak in a case when need not call local RPC handler in middle node.

Steps for the author:

  • Commit message follows the guidelines.
  • Appropriate Features or Test-tag pragmas were used.
  • Appropriate Functional Test Stages were run.
  • At least two positive code reviews including at least one code owner from each category referenced in the PR.
  • Testing is complete. If necessary, forced-landing label added and a reason added in a comment.

After all prior steps are complete:

  • Gatekeeper requested (daos-gatekeeper added as a reviewer).

@liuxuezhao liuxuezhao requested review from a team as code owners December 30, 2025 15:49
@liuxuezhao liuxuezhao added the clean-cherry-pick Cherry-pick from another branch that did not require additional edits label Dec 30, 2025
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Dec 30, 2025

Ticket title is 'Segmentation fault against UCX provider during CR test'
Status is 'Awaiting backport'
Labels: '2.8pp,scrubbed_2.6.5,scrubbed_2.8'
Job should run at elevated priority (1)
https://daosio.atlassian.net/browse/DAOS-17861

@daosbuild3
Copy link
Copy Markdown
Collaborator

Nasf-Fan
Nasf-Fan previously approved these changes Dec 31, 2025
@github-actions github-actions Bot added the priority Ticket has high priority (automatically managed) label Jan 16, 2026
@daosbuild3
Copy link
Copy Markdown
Collaborator

1. Some fail cases already set the rc by crt_corpc_fail_parent_rpc()/
   crt_corpc_fail_child_rpc(), or called crt_corpc_complete() that will
   reply parent already, so need to reset rc to 0 to avoid call
   crt_hg_reply_error_send() again or drop refcount.
2. Fix a refcount leak in a case when need not call local RPC handler
   in middle node.

Signed-off-by: Xuezhao Liu <xuezhao.liu@hpe.com>
@daosbuild3
Copy link
Copy Markdown
Collaborator

@daosbuild3
Copy link
Copy Markdown
Collaborator

@liuxuezhao liuxuezhao requested a review from a team January 27, 2026 02:06
@liuxuezhao liuxuezhao added the forced-landing The PR has known failures or has intentionally reduced testing, but should still be landed. label Jan 27, 2026
@gnailzenh gnailzenh merged commit d381b32 into release/2.6 Jan 27, 2026
42 of 44 checks passed
@gnailzenh gnailzenh deleted the lxz/corpc_err_fix_26 branch January 27, 2026 04:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clean-cherry-pick Cherry-pick from another branch that did not require additional edits forced-landing The PR has known failures or has intentionally reduced testing, but should still be landed. priority Ticket has high priority (automatically managed)

Development

Successfully merging this pull request may close these issues.

5 participants