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-10417 ddb: Verify VOS Tree Paths #9213

Merged

Conversation

ryon-jensen
Copy link
Contributor

Use vos iterate to look up path indexes as well as verify parts
of path passed in by user. This is an improvement over the
previous implementation because it only iterates the VOS
tree once now.

  • By using vos iterate to validate paths, it's possible to know if
    value types are array or single value. Updated dv_iterate to
    only iterate appropriate value type
  • Made the ddb vos function names consistent

Signed-off-by: Ryon Jensen [email protected]

Skip-func-test: true

Use vos iterate to look up path indexes as well as verify parts
of path passed in by user. This is an improvement over the
previous implementation because it only iterates the VOS
tree once now.

- By using vos iterate to validate paths, it's possible to know if
  value types are array or single value. Updated dv_iterate to
  only iterate appropriate value type
- Made the ddb vos function names consistent

Signed-off-by: Ryon Jensen <[email protected]>

Skip-func-test: true
Copy link
Collaborator

@daosbuild1 daosbuild1 left a comment

Choose a reason for hiding this comment

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

LGTM. No errors found by checkpatch.

@mjmac mjmac merged commit 7e8f61b into feature/cat_recovery Jun 1, 2022
@mjmac mjmac deleted the ryon-jensen/DdbVerifyVosTreePath.DAOS-10417 branch June 1, 2022 10:55
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.

5 participants