Skip to content

DAOS-19546 rebuild: fix status timestamp lookup - #18925

Open
wangshilong wants to merge 2 commits into
masterfrom
shilongw/DAOS-19546
Open

DAOS-19546 rebuild: fix status timestamp lookup#18925
wangshilong wants to merge 2 commits into
masterfrom
shilongw/DAOS-19546

Conversation

@wangshilong

Copy link
Copy Markdown
Contributor

rebuild_leader_set_update_time() searches rgt_servers_sorted, which is an array of pointers sorted by rank. The returned index is valid for rgt_servers_sorted, not for the original rgt_servers array.

Use rebuild_server_get_status() to get the matching server status before updating last_update.

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

rebuild_leader_set_update_time() searches rgt_servers_sorted, which is
an array of pointers sorted by rank.  The returned index is valid for
rgt_servers_sorted, not for the original rgt_servers array.

Use rebuild_server_get_status() to get the matching server status before
updating last_update.

Signed-off-by: Shilong Wang <shilong.wang@hpe.com>
@github-actions

Copy link
Copy Markdown

Ticket title is 'rebuild_leader_set_update_time() uses incorrect index for rgt_servers array'
Status is 'In Review'
https://daosio.atlassian.net/browse/DAOS-19546

@daosbuild3

Copy link
Copy Markdown
Collaborator

Test stage Functional Hardware 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-18925/2/execution/node/703/log

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.

4 participants