Skip to content

DAOS-20014 vos: handle empty iod for dkey existence check - #19605

Draft
Nasf-Fan wants to merge 1 commit into
masterfrom
Nasf-Fan/DAOS-20014
Draft

Nasf-Fan wants to merge 1 commit into
masterfrom
Nasf-Fan/DAOS-20014

Conversation

@Nasf-Fan

Copy link
Copy Markdown
Contributor

Inside distributed transaction, a conditional insert dkey will be converted to dkey existence check plus delayed non-conditional dkey insert operations. Such existence check will trigger OBJ_FETCH RPC with empty iod. On server side, related logic in VOS needs to check the iod_nr firstly before accessing elements inside the iod array.

New test cases for that.

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

@github-actions

Copy link
Copy Markdown

Ticket title is 'Engine segfault in vos_fetch_begin on conditional insert of an existing key inside a transaction'
Status is 'In Progress'
https://daosio.atlassian.net/browse/DAOS-20014

@Nasf-Fan
Nasf-Fan force-pushed the Nasf-Fan/DAOS-20014 branch from b466435 to 792e742 Compare November 22, 2026 05:13
@daosbuild3

Copy link
Copy Markdown
Collaborator

Test stage Unit Test bdev completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos/job/PR-19605/3/display/redirect

@daosbuild3

Copy link
Copy Markdown
Collaborator

Test stage Unit Test with memcheck completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos/job/PR-19605/3/display/redirect

@daosbuild3

Copy link
Copy Markdown
Collaborator

@daosbuild3

Copy link
Copy Markdown
Collaborator

@daosbuild3

Copy link
Copy Markdown
Collaborator

Test stage Functional Cluster Box 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-19605/4/execution/node/1482/log

Inside distributed transaction, a conditional insert dkey will be
converted to dkey existence check plus delayed non-conditional dkey
insert operations. Such existence check will trigger OBJ_FETCH RPC
with empty iod. On server side, related logic in VOS needs to check
the iod_nr firstly before accessing elements inside the iod array.

New test cases for that.

Signed-off-by: Fan Yong <fan.yong@hpe.com>
@Nasf-Fan
Nasf-Fan force-pushed the Nasf-Fan/DAOS-20014 branch from 792e742 to 4e25f20 Compare November 24, 2026 08:55

This branch has not been deployed

No deployments
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