[Bugs] [Bug 1572586] New: dht: do not allow migration if file is open

bugzilla at redhat.com bugzilla at redhat.com
Fri Apr 27 11:25:14 UTC 2018


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

            Bug ID: 1572586
           Summary: dht: do not allow migration if file is open
           Product: GlusterFS
           Version: mainline
         Component: distribute
          Assignee: bugs at gluster.org
          Reporter: spalai at redhat.com
                CC: bugs at gluster.org



Description of problem:
More description can be found at 
https://github.com/gluster/glusterfs/issues/308.

This bug is created to give a workaround until the feature (mentioned in
github#308) is not complete.

We have a couple of patches already merged in this regard, can be found below
https://review.gluster.org/#/c/19207/
https://review.gluster.org/#/c/19202/

The above patches restrict migration of a file if there is any open fd on them.
Also we introudced a new option: cluster.force-migraiton which can overwrite
these restrictions and migrate even if the file is open.

We need another patch where the user needs to give a confirmation to carry on
with remove-brick process with the current setting of force-migraiton option.



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

-- 
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