[Bugs] [Bug 1539516] New: DHT log messages: Found anomalies in (null) (gfid = 00000000-0000-0000-0000-000000000000). Holes=1 overlaps=0

bugzilla at redhat.com bugzilla at redhat.com
Mon Jan 29 05:30:03 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1539516

            Bug ID: 1539516
           Summary: DHT log messages: Found anomalies in (null) (gfid =
                    00000000-0000-0000-0000-000000000000). Holes=1
                    overlaps=0
           Product: GlusterFS
           Version: 3.12
         Component: distribute
          Assignee: bugs at gluster.org
          Reporter: nbalacha at redhat.com
                CC: bugs at gluster.org
        Depends On: 1537457



+++ This bug was initially created as a clone of Bug #1537457 +++

Description of problem:

Messages like the following are repeated multiple times in the client log files
(fuse mount) for volumes with a single distribute subvolume (1xn volumes)

[2018-01-15 09:45:41.066914] I [MSGID: 109063]
[dht-layout.c:716:dht_layout_normalize] 0-gv0-dht:Found anomalies in (null)
(gfid = 00000000-0000-0000-0000-000000000000). Holes=1 overlaps=0




RCA:

If the dht subvol count is 1, dht_readdirp_cbk calls
dht_populate_inode_for_dentry for each dir entry returned. This function tries
to save the layout in inode. However, there is no layout on disk or gfid
available for the '..' entry returned when performing an ls -l on the root of
the subvol, causing the function to print this message.



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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Worker Ant on 2018-01-23 04:37:33 EST ---

REVIEW: https://review.gluster.org/19292 (cluster/dht: Skip '..' for the volume
root dir) posted (#1) for review on master by N Balachandran

--- Additional comment from Nithya Balachandran on 2018-01-23 04:38:43 EST ---

Steps to Reproduce:
1. Create a volume with a single brick
2. Fuse mount the volume and perform an ls -l on the root of the volume
3. Check the mount logs

--- Additional comment from Worker Ant on 2018-01-24 06:11:39 EST ---

COMMIT: https://review.gluster.org/19292 committed in master by \"N
Balachandran\" <nbalacha at redhat.com> with a commit message- cluster/dht: Skip
'..' for the volume root dir

dht_populate_inode_for_dentry tries to update the layout
for the '..' entry when listing the root of the volume.
This entry does not correspond to an entry in the volume
and therefore does not have a gfid or a layout on disk,
causing layout processing to fail.

Change-Id: I2b7470e1c5e20d87b5545160697f24d041045140
BUG: 1537457
Signed-off-by: N Balachandran <nbalacha at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1537457
[Bug 1537457] DHT log messages: Found anomalies in (null) (gfid =
00000000-0000-0000-0000-000000000000). Holes=1 overlaps=0
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list