Bug 1207054
Summary: | BitRot :- Object versions is not incremented some times | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Rachana Patel <racpatel> |
Component: | bitrot | Assignee: | Venky Shankar <vshankar> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | mainline | CC: | hchiramm, mzywusko, nsathyan |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.7.0 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-05-15 17:09:20 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: | |||
Bug Blocks: | 1186580 |
Description
Rachana Patel
2015-03-30 07:13:58 UTC
REVIEW: http://review.gluster.org/10117 (features/bitrot-stub: Enhancement to versioning protocol) posted (#1) for review on master by Venky Shankar (vshankar) REVIEW: http://review.gluster.org/10117 (features/bitrot-stub: Enhancement to versioning protocol) posted (#2) for review on master by Venky Shankar (vshankar) REVIEW: http://review.gluster.org/10117 (features/bitrot-stub: Enhancement to versioning protocol) posted (#3) for review on master by Venky Shankar (vshankar) REVIEW: http://review.gluster.org/10117 (features/bitrot-stub: Enhancement to versioning protocol) posted (#4) for review on master by Venky Shankar (vshankar) COMMIT: http://review.gluster.org/10117 committed in master by Vijay Bellur (vbellur) ------ commit 2dfc36811337666c26e42c13f19eb59a7cef674f Author: Venky Shankar <vshankar> Date: Mon Mar 30 21:46:25 2015 +0530 features/bitrot-stub: Enhancement to versioning protocol .. and potential bug fixes / memleak. While assigning initial version to an object, both extended attributes (namely, ongoing version and the default signing version) were persisted. This is optimized to just persist the ongoing version along with safe handling of xattr request(s) in it's absence. This is better than the earlier approach as the two xattr sets were not atomic anyway (allowing a request to sneak in between between two set operations). This also allows to perform sanity checks on objects during lookup()/getxattr(): objects with missing ongoing version but presence of signature are possible candidates of tampering (and catching implementation bugs). There were couple of instances in the code where versioning xattrs were incorrectly removed before in-memory versions were initialized, which have been fixed with this patch. A memory leak in the IPC code path is also fixed. Change-Id: I01c690ccfe7156a883582275f40f79a7c10c0900 BUG: 1207054 Signed-off-by: Venky Shankar <vshankar> Reviewed-on: http://review.gluster.org/10117 Reviewed-by: Raghavendra Bhat <raghavendra> Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Vijay Bellur <vbellur> 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.0, please open a new bug report. glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939 [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |