Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DAOS-16927 pool: Fix upgrade DER_NOTSUPPORTEDs
If a pool upgrade encounters an error in pool_upgrade_props, the upgrade global version remains at the old global version, while the upgrade status changes to FAILED. In this state, a repeated pool upgrade will fail with the following error in the PS leader engine log: ds_pool_upgrade_if_needed() b377db55: upgrading pool 3 -> 4 is unsupported because pool upgraded to 3 last time failed This patch implements a quick fix that ensures the upgrade global version is updated to the new global version when the upgrade status changes to FAILED, so that a repeated upgrade command will attempt to upgrade the pool again. Signed-off-by: Li Wei <[email protected]> Required-githooks: true
- Loading branch information