Skip to content

DAOS-19368 object: make fill_[key|rec] do not return error codes - #18767

Draft
janekmi wants to merge 1 commit into
masterfrom
janekmi/DAOS-19368-fill_key-fill_rec-do-not-return-rcs
Draft

DAOS-19368 object: make fill_[key|rec] do not return error codes#18767
janekmi wants to merge 1 commit into
masterfrom
janekmi/DAOS-19368-fill_key-fill_rec-do-not-return-rcs

Conversation

@janekmi

@janekmi janekmi commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

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

Signed-off-by: Jan Michalski <jan-marian.michalski@hpe.com>
@janekmi
janekmi requested a review from NiuYawei August 3, 2026 15:05
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Ticket title is 'Aurora daos_user: Observed Error message in log "DER_KEY2BIG(-2012): 'Key is too large'" while doing rebuild'
Status is 'In Progress'
Labels: 'ALCF'
https://daosio.atlassian.net/browse/DAOS-19368

@daosbuild3

Copy link
Copy Markdown
Collaborator

Test stage Functional Cluster Box Medium 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-18767/1/execution/node/1713/log

Comment thread src/object/srv_enum.c
return -DER_KEY2BIG;
} else {
return 1;
arg->rc_key2big = 1;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This flag should not be set for the original 'else' case.

Comment thread src/object/srv_enum.c
D_DEBUG(DB_IO, "enum type %d rc %d\n", type, rc);
D_DEBUG(DB_IO, "enum type %d rc %d rc_key2big %d\n", type, rc, arg->rc_key2big == 1);

if (arg->rc_key2big) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clear this flag at the beginning of this function in case the caller retries.

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.

3 participants