Bug 1475779 - quota: directories doesn't get heal on newly added bricks when quota is full on sub-directory
quota: directories doesn't get heal on newly added bricks when quota is full ...
Status: ON_QA
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: quota (Show other bugs)
x86_64 Linux
unspecified Severity high
: ---
: RHGS 3.4.0
Assigned To: Sanoj Unnikrishnan
Vinayak Papnoi
Depends On: 1505355
Blocks: 1503134
  Show dependency treegraph
Reported: 2017-07-27 06:38 EDT by Anil Shah
Modified: 2018-04-20 08:09 EDT (History)
6 users (show)

See Also:
Fixed In Version: glusterfs-3.12.2-8
Doc Type: Bug Fix
Doc Text:
Cause: Directory does not get healed post an add brick operation if the directory's quota had already exceeded hard limit prior to add-brick. Consequence: The directory structure is incomplete on the newly added brick. Fix: Allow directory heal to happen irrespective of quota limit. Result: Directories heal happens irrespective of quota limit.
Story Points: ---
Clone Of:
: 1505355 (view as bug list)
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Anil Shah 2017-07-27 06:38:59 EDT
Description of problem:

When ever quota is full on sub-directory , adding new bricks on volume, 
quota doesn't allow new directory to be created on new added bricks.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Create 2*2 dist-rep volume
2. Do fuse mount
3. Enable quota and set limit on sub-directory
4. Create data on sub-directory so that so quota is hit
5. add-brick on volume
6. do lookup on  client mount 

Actual results:

[root@dhcp46-239 fuse]# ll
ls: cannot access newnfs: No such file or directory
total 4
drwxr-xr-x. 2 root root 4096 Jul 24 16:21 newfuse
d?????????? ? ?    ?       ?            ? newnfs

Expected results:

lookup  on client should be successful

Additional info:
Comment 4 Sanoj Unnikrishnan 2017-10-24 02:44:42 EDT
upstream Patch for review 

Note You need to log in before you can comment on or make changes to this bug.