-
Notifications
You must be signed in to change notification settings - Fork 304
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
Conversation
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]>
Ticket title is 'Regression with pool/query_attribute.py functional test' |
Update query bits for enabled engines query. Features: daos_cmd Required-githooks: true Signed-off-by: Michael MacDonald <[email protected]>
There was a problem hiding this 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?
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. |
There was a problem hiding this 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
There was a problem hiding this 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 :-)
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]