Skip to content

DAOS-19396 pool: mind pool_discard() dss_rpc_send() errors - #18901

Draft
kccain wants to merge 1 commit into
masterfrom
kccain/daos_19396
Draft

DAOS-19396 pool: mind pool_discard() dss_rpc_send() errors#18901
kccain wants to merge 1 commit into
masterfrom
kccain/daos_19396

Conversation

@kccain

@kccain kccain commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Before this change, ds_pool_update_handler() for reintegration pool_discard() swallowed a nonzero rc returned by dss_rpc_send() for the POOL_TGT_DISCARD corpc. The code execution continued forward to perform pool map update (transition reintegrating engine targets to UP state).

With this change, the code does not proceed to pool map update when the dss_rpc_send() call returns an error (e.g., -DER_TIMEDOUT).

This gives retries either by the MS host daos_engine dsc_pool_client or by the test program itself (re-issuing the dmg pool reintegrate command) a chance to wait out and possibly recover from whatever communication failures are occurring among some engines and the (recently-restarted) reintegrating engine.

Features: pool

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

Before this change, ds_pool_update_handler() for reintegration
pool_discard() swallowed a nonzero rc returned by dss_rpc_send()
for the POOL_TGT_DISCARD corpc. The code execution continued
forward to perform pool map update (transition reintegrating
engine targets to UP state).

With this change, the code does *not* proceed to pool map update
when the dss_rpc_send() call returns an error (e.g., -DER_TIMEDOUT).

This gives retries either by the MS host daos_engine dsc_pool_client
or by the test program itself (re-issuing the dmg pool reintegrate
command) a chance to wait out and possibly recover from whatever
communication failures are occurring among some engines and the
(recently-restarted) reintegrating engine.

Features: pool

Signed-off-by: Kenneth Cain <kenneth.cain@hpe.com>
@github-actions

Copy link
Copy Markdown

Ticket title is 'daos_test/suite.py:DaosCoreTest.test_daos_rebuild_ec - pool reintegrate timeout'
Status is 'In Progress'
Labels: '2.6.5.p2rc1,pr_test,testp1'
https://daosio.atlassian.net/browse/DAOS-19396

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.

1 participant