Bug 1293584
Summary: | Corrupted objects list does not get cleared even after all the files in the volume are deleted and count increases as old + new count | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Venky Shankar <vshankar> |
Component: | bitrot | Assignee: | bugs <bugs> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | urgent | Docs Contact: | bugs <bugs> |
Priority: | unspecified | ||
Version: | 3.7.6 | CC: | bugs, knarra, mliyazud, rabhat, rhs-bugs |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.7.7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1285241 | Environment: | |
Last Closed: | 2016-04-19 07:51:49 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1285238, 1285241 | ||
Bug Blocks: | 1279240 |
Description
Venky Shankar
2015-12-22 09:38:18 UTC
REVIEW: http://review.gluster.org/13032 (features/bit-rot-stub: delete the link for bad object in quarantine directory) posted (#2) for review on release-3.7 by Venky Shankar (vshankar) REVIEW: http://review.gluster.org/13032 (features/bit-rot-stub: delete the link for bad object in quarantine directory) posted (#3) for review on release-3.7 by Venky Shankar (vshankar) REVIEW: http://review.gluster.org/13032 (features/bit-rot-stub: delete the link for bad object in quarantine directory) posted (#4) for review on release-3.7 by Venky Shankar (vshankar) REVIEW: http://review.gluster.org/13032 (features/bit-rot-stub: delete the link for bad object in quarantine directory) posted (#5) for review on release-3.7 by Venky Shankar (vshankar) REVIEW: http://review.gluster.org/13032 (features/bit-rot-stub: delete the link for bad object in quarantine directory) posted (#6) for review on release-3.7 by Venky Shankar (vshankar) REVIEW: http://review.gluster.org/13032 (features/bit-rot-stub: delete the link for bad object in quarantine directory) posted (#7) for review on release-3.7 by Venky Shankar (vshankar) COMMIT: http://review.gluster.org/13032 committed in release-3.7 by Venky Shankar (vshankar) ------ commit 0f251fd517d2ed67330e11d56e9e64cca8390b35 Author: Raghavendra Bhat <raghavendra> Date: Wed Nov 25 15:25:26 2015 +0530 features/bit-rot-stub: delete the link for bad object in quarantine directory When the bad object is deleted (as of now manually from the backend itself), along with its gfid handle, the entry for the bad object in the quarantne directory is left as it is (it also can be removed manually though). But the next lookup of the object upon not finding it in the backend, sends forget on the in-memory inode. If the stale link for the gfid still exists in the quarantine directory, bir-rot-stub will unlink the entry in its forget or in the next failed lookup on that object with errno being ENOENT. Change-Id: If84292d3e44707dfa11fa29023b3d9f691b8f0f3 BUG: 1293584 Signed-off-by: Raghavendra Bhat <raghavendra> Reviewed-on: http://review.gluster.org/12743 Tested-by: NetBSD Build System <jenkins.org> Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Venky Shankar <vshankar> (cherry picked from commit f853ed9c61bf65cb39f859470a8ffe8973818868) Reviewed-on: http://review.gluster.org/13032 This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.7, please open a new bug report. glusterfs-3.7.7 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] https://www.gluster.org/pipermail/gluster-users/2016-February/025292.html [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |