Bug 1773991
Summary: | Bricks are not available when volume create fails | |||
---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Sheetal Pamecha <spamecha> | |
Component: | glusterd | Assignee: | bugs <bugs> | |
Status: | CLOSED NEXTRELEASE | QA Contact: | ||
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 7 | CC: | bugs, pasik, srakonde | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1776801 (view as bug list) | Environment: | ||
Last Closed: | 2020-01-09 07:56:29 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1776801 |
Description
Sheetal Pamecha
2019-11-19 11:57:15 UTC
Hi Sheetal, Every cli transaction goes through four phases: locking, staging, commit, unlock. We do all kinds of validations in staging phase of transaction, once the validation fails we error out. Any modifications done in regards to the current transaction, will not be reverted as we don't have roll-back mechanism in glusterd architecture. When volume create operation is issued, we set xattrs on the bricks. But, if the transaction fails, the xattrs will remain on the bricks. This causes subsequent volume create transactions to fail if the force option is not used. I will send out a patch to fix this. Thanks, Sanju REVIEW: https://review.gluster.org/23760 (glusterd: set xaatrs afer checking the brick order) posted (#1) for review on master by Sanju Rakonde REVISION POSTED: https://review.gluster.org/23760 (glusterd: set xaatrs after checking the brick order) posted (#3) for review on master by Sanju Rakonde The patch merged more than a month ago, not sure why the bot didn't close the bug. |