Bug 1313311
| 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: | bugs <bugs> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.7.8 | 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.7.9 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1294588 | Environment: | |
| Last Closed: | 2016-03-22 08:14:39 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, 1294588 | ||
| Bug Blocks: | 1309567 | ||
|
Description
Aravinda VK
2016-03-01 11:27:53 UTC
REVIEW: http://review.gluster.org/13560 (geo-rep: Handle ERANGE error during listxattr) posted (#1) for review on release-3.7 by Aravinda VK (avishwan) COMMIT: http://review.gluster.org/13560 committed in release-3.7 by Aravinda VK (avishwan) ------ commit 5a35bee2057b80809ecdd97abe5cce2d39b2da8a 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: 1313311 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> (cherry picked from commit 656a0e64e5f465561ed29297421ec150de32f2a1) Reviewed-on: http://review.gluster.org/13560 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.9, please open a new bug report. glusterfs-3.7.9 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-March/025922.html [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |