Skip to content

DAOS-19116 object: drop reference when fail in obj_ioc_begin_lite - b26#18706

Draft
Nasf-Fan wants to merge 1 commit into
release/2.6from
Nasf-Fan/DAOS-19116_1_b26
Draft

DAOS-19116 object: drop reference when fail in obj_ioc_begin_lite - b26#18706
Nasf-Fan wants to merge 1 commit into
release/2.6from
Nasf-Fan/DAOS-19116_1_b26

Conversation

@Nasf-Fan

Copy link
Copy Markdown
Contributor

It is possible that obj_ioc_begin_lite() maybe failed because of empty or stale pool map on server. At that time, the logic has already held reference against the container open handle. Under such case, directly returning error# to the caller may cause reference leak as to such container cannot be properly stopped in subsequent operations.

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).

@daosbuild3

Copy link
Copy Markdown
Collaborator

@daosbuild3

Copy link
Copy Markdown
Collaborator

@daosbuild3

Copy link
Copy Markdown
Collaborator

@daosbuild3

Copy link
Copy Markdown
Collaborator

@daosbuild3

Copy link
Copy Markdown
Collaborator

@daosbuild3

Copy link
Copy Markdown
Collaborator

@github-actions

Copy link
Copy Markdown

Ticket title is 'daos_racer/simple.py:DaosRacerSimpleTest.test_daos_racer_simple - Error running 'daos_racer'; timed out daos_racer process'
Status is 'In Progress'
Labels: '2.8.0rc1,2.8.0rc2,ci_2.8_provider,pr_test'
https://daosio.atlassian.net/browse/DAOS-19116

@Nasf-Fan
Nasf-Fan force-pushed the Nasf-Fan/DAOS-19116_1_b26 branch from fc3b0b8 to 18030d3 Compare July 23, 2026 04:56
It is possible that obj_ioc_begin_lite() maybe failed because
of empty or stale pool map on server. At that time, the logic
has already held reference against the container open handle.
Under such case, directly returning error# to the caller may
cause reference leak as to such container cannot be properly
stopped in subsequent operations.

Signed-off-by: Fan Yong <fan.yong@hpe.com>
@Nasf-Fan
Nasf-Fan force-pushed the Nasf-Fan/DAOS-19116_1_b26 branch from 18030d3 to c33bf76 Compare July 23, 2026 05:06
@daosbuild3

Copy link
Copy Markdown
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants