Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DAOS-16829 client: Fix daos pool query regression #15638

Merged
merged 2 commits into from
Dec 19, 2024

Conversation

mjmac
Copy link
Contributor

@mjmac mjmac commented Dec 18, 2024

The patch landed for DAOS-16477 introduced a regression
in the pool query functionality of the daos tool. This
patch simplifies the pool query logic to retrieve
enabled and disabled ranks. Dead ranks are not available
to the client without pool query protocol changes.

Features: daos_cmd
Required-githooks: true

Signed-off-by: Michael MacDonald [email protected]

The patch landed for DAOS-16477 introduced a regression
in the pool query functionality of the daos tool. This
patch simplifies the pool query logic to retrieve
enabled and disabled ranks. Dead ranks are not available
to the client without pool query protocol changes.

Features: daos_cmd
Required-githooks: true

Signed-off-by: Michael MacDonald <[email protected]>
@mjmac mjmac requested review from a team as code owners December 18, 2024 02:26
Copy link

Ticket title is 'Regression with pool/query_attribute.py functional test'
Status is 'In Review'
Labels: 'ci_master_weekly,weekly_test'
https://daosio.atlassian.net/browse/DAOS-16829

Update query bits for enabled engines query.

Features: daos_cmd
Required-githooks: true

Signed-off-by: Michael MacDonald <[email protected]>
Copy link
Contributor

@tanabarr tanabarr left a comment

Choose a reason for hiding this comment

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

don't we need a unit test to verify the need for this change?

@mjmac
Copy link
Contributor Author

mjmac commented Dec 19, 2024

don't we need a unit test to verify the need for this change?

There is a functional test, which is currently failing on master and will continue to fail until this lands. Writing unit tests for cgo calls in the daos tool is close to impossible with the current code organization.

@mjmac mjmac requested a review from tanabarr December 19, 2024 13:59
Copy link
Contributor

@tanabarr tanabarr left a comment

Choose a reason for hiding this comment

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

approving because unit tests are to be covered in a future piece of work

@mjmac mjmac merged commit 1891962 into master Dec 19, 2024
57 checks passed
@mjmac mjmac deleted the mjmac/DAOS-16829-simplefix branch December 19, 2024 15:10
Copy link
Contributor

@knard38 knard38 left a comment

Choose a reason for hiding this comment

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

A little bit late, but seems good to me :-)

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