-
Notifications
You must be signed in to change notification settings - Fork 348
DAOS-19087 container: Disallow user-specified UUIDs #18636
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| /* | ||
| * (C) Copyright 2019-2024 Intel Corporation. | ||
| * | ||
| * SPDX-License-Identifier: BSD-2-Clause-Patent | ||
| */ | ||
|
|
@@ -111,11 +111,11 @@ | |
| * is returned as a string in \a da_pool with duns_resolve_path(). | ||
| */ | ||
| uuid_t da_puuid; | ||
| /** IN/OUT: (Deprecated) Optional UUID of the cont to be created in duns_create_path(). | ||
| /** OUT: (Deprecated) Optional UUID of the cont created in duns_create_path(). | ||
| * | ||
| * The UUID will be used to create the container in duns_create_path() if set, otherwise a | ||
| * random one will be generated. The cont UUID or label is returned as a string in \a | ||
| * da_cont with duns_resolve_path(). | ||
| * The container UUID is always generated by the DAOS system and users are not permitted to | ||
| * specify it; any value set on input is ignored. The generated cont UUID or the label is | ||
| * returned as a string in \a da_cont with duns_resolve_path(). | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is where I'm most ignorant about. Are there any other changes required? And, if we consider the overall change as a DAOS API change, should we remove this field?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. so this was in/out. user can specify a uuid, but they don't have to. |
||
| */ | ||
| uuid_t da_cuuid; | ||
| /** IN: (Optional) For a POSIX container, set a default object class for all directories. */ | ||
|
|
||
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.
If we consider the overall change as a DAOS API change, should we remove field
daos_cont_create_t.uuid?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.
you do want to return the uuid generated for the container to the user still i assume