[Bugs] [Bug 1505807] files are appendable on file-based worm volume

bugzilla at redhat.com bugzilla at redhat.com
Mon Oct 30 16:01:12 UTC 2017


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



--- Comment #3 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18560 committed in master by  

------------- write once read many: file appendable in worm state

Issue:
A new file is appendable even when file level worm is 1.

Fix:
Do a state transition in writev function in worm.c file.

Steps To Test:
1- Activate file level worm.
2- Create a new file.
3- Leave file dormant for auto commit period.
4- Try and append some content to the file.
5- check the file if new content has been appended or not.
6- check if file has been transitioned to Worm Retention state.

Change-Id: I52d50ad888cb0c39ad54be9352ccb07d48b8d71a
BUG: 1505807
Signed-off-by: Vishal Pandey <vishpandey2014 at gmail.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=svEjYtLMVi&a=cc_unsubscribe


More information about the Bugs mailing list