Bug 1294588
| Summary: | Dist-geo-rep : geo-rep worker crashed while init with [Errno 34] Numerical result out of range. | |||
|---|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Aravinda VK <avishwan> | |
| Component: | geo-replication | Assignee: | Aravinda VK <avishwan> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | ||
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | mainline | CC: | avishwan, bugs, chrisw, csaba, david.macdonald, nlevinki, rhinduja, rhs-bugs, rwheeler, sankarshan, smohan, storage-qa-internal, vkoppad | |
| Target Milestone: | --- | Keywords: | EasyFix, ZStream | |
| Target Release: | --- | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | glusterfs-3.8rc2 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | 1285200 | |||
| : | 1313311 (view as bug list) | Environment: | ||
| Last Closed: | 2016-06-16 13:52:41 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: | 1026780, 1285200 | |||
| Bug Blocks: | 1313311 | |||
|
Description
Aravinda VK
2015-12-29 05:56:29 UTC
REVIEW: http://review.gluster.org/13106 (geo-rep: Handle ERANGE error during listxattr) posted (#1) for review on master by Aravinda VK (avishwan) REVIEW: http://review.gluster.org/13106 (geo-rep: Handle ERANGE error during listxattr) posted (#2) for review on master by Aravinda VK (avishwan) REVIEW: http://review.gluster.org/13106 (geo-rep: Handle ERANGE error during listxattr) posted (#3) for review on master by Aravinda VK (avishwan) COMMIT: http://review.gluster.org/13106 committed in master by Venky Shankar (vshankar) ------ commit 656a0e64e5f465561ed29297421ec150de32f2a1 Author: Aravinda VK <avishwan> Date: Tue Dec 29 11:20:39 2015 +0530 geo-rep: Handle ERANGE error during listxattr llistxattr in Geo-rep is two syscall instead of one SIZE = llistxattr(PATH, &BUF, 0); BUF = create_buf(SIZE); _ = llistxattr(PATH, &BUF, SIZE); So if any new xattrs added just after first call by any other worker, second syscall will fail with ERANGE error. Now Geo-rep sends BUF with large size(256*100) and gets value with only one syscall. Raises OSError if fails with ERANGE error even after sending large BUF. Change-Id: I8ade4bbe9a0a8ea908ed9dedcd3f2ff4c6fe6f51 Signed-off-by: Aravinda VK <avishwan> BUG: 1294588 Reviewed-on: http://review.gluster.org/13106 Smoke: Gluster Build System <jenkins.com> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.com> Reviewed-by: Kotresh HR <khiremat> 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 |