[Bugs] [Bug 1508898] Add new configuration option to manage deletion of Worm files
bugzilla at redhat.com
bugzilla at redhat.com
Mon Nov 20 11:42:18 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1508898
--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18633 committed in master by \"Vishal
Pandey\" <vpandey at redhat.com> with a commit message- features/worm: new config
option to manage deletion of Worm files.
Add a new configuration option worm-files-deletable to
file-level Worm in order to control behaviour of Worm files upon deletion.
Steps to Test:
1. Add all the configuration options to a volume to activate file-level-worm
2. Option features.worm-files-deletable is set to 1 by default.
3. Create a new file and wait for the retention time to expire.
4. After retention time expires, do an truncate, rename, unlink, link
or write to send the file in Worm state.
5. After that do `rm -f filename`.
6. The file is successfully removed.
7. Repeat from step 2 by setting features.worm-files-deletable 0.
This time deletion should not be successful.
Change-Id: Ibc89861ee296e065330b93a9f9606be5da40af31
BUG: 1508898
Signed-off-by: Vishal Pandey <vishpandey2014 at gmail.com>
--
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