Bug 1285241
| 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: | Raghavendra Bhat <rabhat> | |
| Component: | bitrot | Assignee: | Raghavendra Bhat <rabhat> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | ||
| Severity: | urgent | Docs Contact: | bugs <bugs> | |
| Priority: | unspecified | |||
| Version: | mainline | CC: | bugs, knarra, mliyazud, rhs-bugs | |
| Target Milestone: | --- | Keywords: | Triaged | |
| Target Release: | --- | |||
| Hardware: | All | |||
| OS: | All | |||
| Whiteboard: | ||||
| Fixed In Version: | glusterfs-3.8rc2 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | 1285238 | |||
| : | 1293584 (view as bug list) | Environment: | ||
| Last Closed: | 2016-06-16 13:46:40 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 | |||
| Bug Blocks: | 1293584 | |||
|
Description
Raghavendra Bhat
2015-11-25 09:41:49 UTC
REVIEW: http://review.gluster.org/12743 (features/bit-rot-stub: delete the link for bad object in quarantine directory) posted (#1) for review on master by Raghavendra Bhat (raghavendra) REVIEW: http://review.gluster.org/12743 (features/bit-rot-stub: delete the link for bad object in quarantine directory) posted (#2) for review on master by Raghavendra Bhat (raghavendra) COMMIT: http://review.gluster.org/12743 committed in master by Venky Shankar (vshankar) ------ commit f853ed9c61bf65cb39f859470a8ffe8973818868 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: 1285241 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> REVIEW: http://review.gluster.org/13032 (features/bit-rot-stub: delete the link for bad object in quarantine directory) posted (#1) for review on release-3.7 by Venky Shankar (vshankar) This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions 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.8.0, please open a new bug report. glusterfs-3.8.0 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] http://blog.gluster.org/2016/06/glusterfs-3-8-released/ [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |