[Bugs] [Bug 1773991] Bricks are not available when volume create fails

bugzilla at redhat.com bugzilla at redhat.com
Tue Nov 26 11:27:49 UTC 2019


https://bugzilla.redhat.com/show_bug.cgi?id=1773991

Sanju <srakonde at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |srakonde at redhat.com



--- Comment #1 from Sanju <srakonde at redhat.com> ---
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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list