| Summary: | [perf-xlators/write-behind] write-behind-window-size could be set greater than its allowed MAX value 1073741824 | |||
|---|---|---|---|---|
| Product: | Red Hat Gluster Storage | Reporter: | SATHEESARAN <sasundar> | |
| Component: | write-behind | Assignee: | Csaba Henk <csaba> | |
| Status: | CLOSED ERRATA | QA Contact: | Karan Sandha <ksandha> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | rhgs-3.1 | CC: | amukherj, asrivast, csaba, nbalacha, nlevinki, rhinduja, rhs-bugs, sasundar, vbellur | |
| Target Milestone: | --- | Keywords: | ZStream | |
| Target Release: | RHGS 3.3.0 | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | glusterfs-3.8.4-25 | Doc Type: | Bug Fix | |
| Doc Text: |
The write-behind-window-size parameter was not validated correctly, and could be set to a value greater than its allowed maximum. This has been corrected so that only valid values (524288 - 1073741824) can be set.
|
Story Points: | --- | |
| Clone Of: | 993535 | |||
| : | 1445609 (view as bug list) | Environment: | ||
| Last Closed: | 2017-09-21 04:25:52 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: | ||
| Bug Depends On: | 993535, 1445609 | |||
| Bug Blocks: | 1417147 | |||
|
Description
SATHEESARAN
2016-01-12 11:06:17 UTC
The issue is still reproducible with RHGS 3.1.2 [root@ ~]# gluster volume set distvol write-behind-window-size 1GB volume set: success [root@ ~]# gluster volume set distvol write-behind-window-size 2GB volume set: success [root@ ~]# gluster volume set distvol write-behind-window-size 32GB volume set: success [root@ ~]# gluster volume set distvol write-behind-window-size 1TB volume set: success [root@ ~]# gluster volume set distvol write-behind-window-size 1KB volume set: failed: '1024' in 'option cache-size 1KB' is out of range [524288 - 1073741824] Although the changes are falling under GlusterD code, but the validation has to be taken care by the feature itself. Assigning it to Raghavendra G as he maintains performance translators. upstream patch : https://review.gluster.org/#/c/17125 I checked, the doc is appropriate. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:2774 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:2774 |