Bug 1890506

Summary: Enable granular-entry-heal by default for new AFR volumes.
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Ravishankar N <ravishankar>
Component: replicateAssignee: Ravishankar N <ravishankar>
Status: CLOSED ERRATA QA Contact: Veera Raghava Reddy <vereddy>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhgs-3.5CC: asakthiv, pprakash, puebele, rhs-bugs, rkothiya, sajmoham, sheggodu, storage-qa-internal
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.5.z Batch Update 4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-6.0-50 Doc Type: Enhancement
Doc Text:
Previously, the replicate volume option `cluster.granular-entry-heal` was disabled by default. With this update, the replicate volume option is turned ON automatically for newly created volumes.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-29 07:20:36 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:

Description Ravishankar N 2020-10-22 12:16:40 UTC
Describe the issue:

While debugging a customer issue (BZ 1877492), the non-granular entry heal became a major pain in healing because of the millions of files present in the directory, causing the brick to be flooded with lookups and giving the appearance that heal was not progressing.

granular-entry heal option could have helped us here but the option is off by default. We should now make it 'on' for new volumes. Raising a bug to fix this.

Comment 1 Ravishankar N 2020-10-22 12:20:15 UTC
Upstream patch: 
https://github.com/gluster/glusterfs/pull/1621

Comment 2 Ravishankar N 2020-11-05 13:10:07 UTC
(In reply to Ravishankar N from comment #1)
> Upstream patch: 
> https://github.com/gluster/glusterfs/pull/1621

Note to self: Also backport https://github.com/gluster/glusterfs/pull/1752

Comment 16 errata-xmlrpc 2021-04-29 07:20:36 UTC
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 (glusterfs bug fix and enhancement update), 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-2021:1462