Bug 1419438
Summary: | gluster volume splitbrain info needs to display output of each brick in a stream fashion instead of buffering and dumping at the end | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Nag Pavan Chilakam <nchilaka> | |
Component: | replicate | Assignee: | Karthik U S <ksubrahm> | |
Status: | CLOSED ERRATA | QA Contact: | Vijay Avuthu <vavuthu> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | rhgs-3.2 | CC: | amukherj, ravishankar, rhinduja, rhs-bugs, sheggodu, storage-qa-internal | |
Target Milestone: | --- | Keywords: | ZStream | |
Target Release: | RHGS 3.4.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.12.2-2 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1506104 (view as bug list) | Environment: | ||
Last Closed: | 2018-09-04 06:32:03 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: | 1506104 | |||
Bug Blocks: | 1503134 |
Description
Nag Pavan Chilakam
2017-02-06 07:30:56 UTC
(In reply to nchilaka from comment #0) > > How reproducible: > ========== > always > > > > Steps to Reproduce: > 1.create a 2x2 volume > 2.create many splibtrain files, say gfid splitbrains on all bricks > 3.now issue heal info split-brain Karthik, could you take a look at this please? As you know, in glfs-heal.c, all output to stdout is done using printf. I'm wondering if we need to call fflush or if there is some other bug. Sure Ravi. Will take a look. Upstream patch: https://review.gluster.org/#/c/18570/ Update: ========= Build Used : glusterfs-3.12.2-7.el7rhgs.x86_64 Scenario: 1) create 1 * 2 replicate volume 2) create 10K data split-brain files 3) issue heal info split-brain with this patch , we can see split-brain files are streaming to console # gluster vol heal 12 info split-brain Brick 10.70.35.61:/bricks/brick1/b0 /file_140 /file_1 /file_2 /file_3 /file_4 /file_5 Changing status to Verified. 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/RHSA-2018:2607 |