[Bugs] [Bug 1508898] New: Add new configuration option to manage deletion of Worm files

bugzilla at redhat.com bugzilla at redhat.com
Thu Nov 2 13:13:51 UTC 2017


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

            Bug ID: 1508898
           Summary: Add new configuration option to manage deletion of
                    Worm files
           Product: GlusterFS
           Version: mainline
         Component: unclassified
          Assignee: bugs at gluster.org
          Reporter: vpandey at redhat.com
                CC: bugs at gluster.org



Description of problem: Add a new configuration option to file level Worm in
order to control deletion of Worm Files.


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

Steps to Test:
1. Add all the configuration options to a volume to activate file-level-worm
2. Add an additional config option features.worm-files-deletable 1
3. Stop and start the volume for the changes to take effect.
4. Create a new file and wait for the retention time to expire.
5. After retention time expires, do `rm -f filename` for state transition to
Worm    State.
6. The file is successfully removed.
7. Repeat from step 2by setting features.worm-files-deletable 1. This time
deletion should not be successful. 

Expected results:
1. When worm-files-deletable is set as 1, files in Worm state can be deleted.
2. When worm-files-deletable is set as 0, files in Worm state can't be deleted.

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