-
Notifications
You must be signed in to change notification settings - Fork 80
CORTX-30537: add a way to disable formulaic pool versions #2123
Conversation
12257b6
to
efa0383
Compare
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.
Looks good!
retest this please |
Deployment jobs are failing and premerge also failed. need to triage. Please paste the test results @mssawant |
This issue/pull request has been marked as |
Currently, if no clean pool version (actual or formulaic) can be found for the new object on its creation, -ENOENT is returned, which is not good. We want the user to be able to create new objects even if this implies the degraded i/o on them. Solution: return the actual pver at conf_pver_find_locked() in case when nothing better (cleaner) can be found. Closes Seagate#1958. Relates Seagate/cortx-hare#2123. Signed-off-by: Andriy Tkachuk <andriy.tkachuk@seagate.com>
Currently, if no clean pool version (actual or formulaic) can be found for the new object on its creation, -ENOENT is returned, which is not good. We want the user to be able to create new objects even if this implies the degraded i/o on them. Solution: return the actual pver at conf_pver_find_locked() in case when nothing better (cleaner) can be found. Closes Seagate#1958. Relates Seagate/cortx-hare#2123. Signed-off-by: Andriy Tkachuk <andriy.tkachuk@seagate.com>
Currently, if no clean pool version (actual or formulaic) can be found for the new object on its creation, -ENOENT is returned, which is not good. We want the user to be able to create new objects even if this implies the degraded i/o on them. Solution: return the actual pver at conf_pver_find_locked() in case when nothing better (cleaner) can be found. Closes #1958. Relates Seagate/cortx-hare#2123. Signed-off-by: Andriy Tkachuk <andriy.tkachuk@seagate.com>
@mssawant can we merge (after proper testing) discussion with @chandradharraval dependent Motr PR Seagate/cortx-motr#1959 is merged already. |
@mssawant deployment, premerge and sanity are failing on this PR. need to check. |
retest this please |
33a2df9
to
3a23b6d
Compare
retest this please |
1 similar comment
retest this please |
This issue/pull request has been marked as |
retest this please |
520f601
to
8b7f5fe
Compare
8b7f5fe
to
4e8dcad
Compare
Hare Sanity is failing at HA pod deployment,
|
retest this please |
4e8dcad
to
d06837e
Compare
Fixed the
|
Hare automatically generates formulaic pool versions (i.e. different combinations of layouts) based on the tolerances for failure domains and corresponding layout parameters. In some configuration cases, these multiple poolversions may not be required and in-order to use other fault tolerant and recovery methods (e.g. automatic data recovery on process restart). Thus, there needs to be a way to disable generating formulaic pool versions. Solution: - Add a flag in cdf to disable formulaic pool versions. - Update cfgen to read corresponding flag and skip generating formulaic pool versions. - Add corresponding flag to hare mini-provisioner, set it to False by default. Signed-off-by: Mandar Sawant <mandar.sawant@seagate.com>
d06837e
to
1afe717
Compare
Hare automatically generates formulaic pool versions (i.e. different
combinations of layouts) based on the tolerances for failure domains
and corresponding layout parameters. In some configuration cases,
these multiple poolversions may not be required and in-order to use
other fault tolerant and recovery methods (e.g. automatic data recovery
on process restart). Thus, there needs to be a way to disable
generating formulaic pool versions.
Solution:
formulaic pool versions.
by default.
Signed-off-by: Mandar Sawant mandar.sawant@seagate.com