-
Notifications
You must be signed in to change notification settings - Fork 305
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-15605 rsvc: Create rsvc with VOS DF version #14156
Conversation
If a pool with an old layout version is served by a DAOS version with a new default layout version, for instance, a 2.4-layout pool served by DAOS 2.5, then any new VOS pools created for this DAOS pool must use the old layout, or downgrading back to the old DAOS version would become impossible. Signed-off-by: Li Wei <[email protected]> Required-githooks: true
Ticket title is 'daos 2.4 to 2.6 interop assertion: vos_pool_upgrade() Assertion 'version > pool_df->pd_version && version <= POOL_DF_VERSION' failed: Invalid pool upgrade version 25, current version is 26' |
Tested manually upgrading software from 2.4.2 to this PR (+ Ken's #14091) with pools that were not upgraded to the new global version:
|
@@ -1169,11 +1173,12 @@ bcast_create(crt_opcode_t opc, bool filter_invert, d_rank_list_t *filter_ranks, | |||
* \param[in] create create replicas first | |||
* \param[in] bootstrap start with an initial list of replicas | |||
* \param[in] size size of each replica in bytes if \a create | |||
* \param[in] vos_df_version version of VOS durable format if \a create |
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.
No change requested in this patch. I don't think we have any callers that specify create=false.
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.
@kccain, good observation. Unfortunately, the CR landing has changed that: There's a non-create caller in rdbt_dictate_handler
. Once the base branch lands, I will have to rebase this branch and fix the conflicts with the CR landing. We'll then have the non-create caller.
This reverts commit 655d23a.
vos: Add version param to pool create In a DAOS pool using the old pool global version, we need to create new VOS pools using the old DF version. See the Jira ticket for the details. This patch adds a version parameter to vos_pool_create and vos_pool_create_ex. rsvc: Create rsvc with VOS DF version (#14156) If a pool with an old layout version is served by a DAOS version with a new default layout version, for instance, a 2.4-layout pool served by DAOS 2.5, then any new VOS pools created for this DAOS pool must use the old layout, or downgrading back to the old DAOS version would become impossible. Signed-off-by: Li Wei <[email protected]>
vos: Add version param to pool create In a DAOS pool using the old pool global version, we need to create new VOS pools using the old DF version. See the Jira ticket for the details. This patch adds a version parameter to vos_pool_create and vos_pool_create_ex. rsvc: Create rsvc with VOS DF version (#14156) If a pool with an old layout version is served by a DAOS version with a new default layout version, for instance, a 2.4-layout pool served by DAOS 2.5, then any new VOS pools created for this DAOS pool must use the old layout, or downgrading back to the old DAOS version would become impossible. Signed-off-by: Li Wei <[email protected]>
If a pool with an old layout version is served by a DAOS version with a new default layout version, for instance, a 2.4-layout pool served by DAOS 2.5, then any new VOS pools created for this DAOS pool must use the old layout, or downgrading back to the old DAOS version would become impossible.
Before requesting gatekeeper:
Features:
(orTest-tag*
) commit pragma was used or there is a reason documented that there are no appropriate tags for this PR.Gatekeeper: