[Bugs] [Bug 1308410] New: DHT :- log is full of ' Found anomalies in /<DIR> (gfid = 00000000-0000-0000-0000-000000000000)' - for each Directory which was self healed

bugzilla at redhat.com bugzilla at redhat.com
Mon Feb 15 06:34:05 UTC 2016


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

            Bug ID: 1308410
           Summary: DHT :- log is full of  ' Found anomalies in /<DIR>
                    (gfid = 00000000-0000-0000-0000-000000000000)' -  for
                    each Directory which was self healed
           Product: GlusterFS
           Version: 3.7.7
         Component: distribute
          Severity: medium
          Assignee: bugs at gluster.org
          Reporter: sabansal at redhat.com
                CC: bugs at gluster.org, mzywusko at redhat.com,
                    nbalacha at redhat.com, neteler at gmail.com,
                    nsathyan at redhat.com, racpatel at redhat.com
        Depends On: 1114045, 1281265



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

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

Description of problem:
=======================
cause of any reasons if Directory has been self healed, log has below messages
where 0 GFIDs are dumped in the log rather than the actual GFID of the
directory.

:[2014-06-25 08:52:50.339861] I [dht-layout.c:663:dht_layout_normalize]
0-snap-dht: Found anomalies in /zile (gfid =
00000000-0000-0000-0000-000000000000). Holes=1 overlaps=0




Version-Release number of selected component (if applicable):
=============================================================
3.6.0.19-1.el6rhs.x86_64

How reproducible:
=================
always

Steps to Reproduce:
===================
1.Create and mount Distributed Volume
2. Create Directories from mount point and make sure It is not created on all
up sub-volumes.
3. send lookup from another mount point.
4. check logs for self-healed Directory 0 GFIDs are dumped rather than actual

Actual results:
===============
[2014-06-25 08:52:50.339861] I [dht-layout.c:663:dht_layout_normalize]
0-snap-dht: Found anomalies in /zile (gfid =
00000000-0000-0000-0000-000000000000). Holes=1 overlaps=0

Expected results:
=================
should show Actual GFID of Directory


Additional info:
================


[root at OVM3 nfs]# gluster v status snap
Status of volume: snap
Gluster process                        Port    Online    Pid
------------------------------------------------------------------------------
Brick 10.70.35.198:/brick2/b1                49157    Y    13611
Brick 10.70.35.198:/brick2/b2                49158    Y    13345
Brick 10.70.35.198:/brick2/b3                49159    Y    13356
NFS Server on localhost                    2049    Y    13623
NFS Server on 10.70.35.240                2049    Y    19185
NFS Server on 10.70.35.172                2049    Y    13465

Task Status of Volume snap
------------------------------------------------------------------------------
There are no active volume tasks

log snippet:-
[2014-06-27 07:53:07.260193] I [dht-layout.c:663:dht_layout_normalize]
0-snap-dht: Found anomalies in /dir2 (gfid =
00000000-0000-0000-0000-000000000000). Holes=1 overlaps=0
[2014-06-27 07:56:39.896560] I [dht-layout.c:663:dht_layout_normalize]
0-snap-dht: Found anomalies in /dir2 (gfid =
00000000-0000-0000-0000-000000000000). Holes=1 overlaps=0
[2014-06-27 08:02:41.481429] I [dht-layout.c:663:dht_layout_normalize]
0-snap-dht: Found anomalies in /dir2 (gfid =
00000000-0000-0000-0000-000000000000). Holes=1 overlaps=0
[2014-06-27 08:04:39.932597] I [dht-layout.c:663:dht_layout_normalize]
0-snap-dht: Found anomalies in /dir2 (gfid =
00000000-0000-0000-0000-000000000000). Holes=1 overlaps=0
[2014-06-27 08:06:52.812528] I [dht-layout.c:663:dht_layout_normalize]
0-snap-dht: Found anomalies in /dir2 (gfid =
00000000-0000-0000-0000-000000000000). Holes=1 overlaps=0
[2014-06-27 08:08:59.461588] I [dht-layout.c:663:dht_layout_normalize]
0-snap-dht: Found anomalies in /abc (gfid =
00000000-0000-0000-0000-000000000000). Holes=1 overlaps=0
[2014-06-27 10:21:46.216573] I [dht-layout.c:663:dht_layout_normalize]
0-snap-dht: Found anomalies in /abc (gfid =
00000000-0000-0000-0000-000000000000). Holes=1 overlaps=0

--- Additional comment from Vijay Bellur on 2015-11-12 03:14:55 EST ---

REVIEW: http://review.gluster.org/12574 (dht: loc should store proper gfid)
posted (#1) for review on master by Sakshi Bansal

--- Additional comment from Vijay Bellur on 2015-11-17 04:46:44 EST ---

COMMIT: http://review.gluster.org/12574 committed in master by Raghavendra G
(rgowdapp at redhat.com) 
------
commit b6323c1995223d3566ffca12145c943df3fdc2ed
Author: Sakshi Bansal <sabansal at redhat.com>
Date:   Thu Nov 12 13:43:31 2015 +0530

    dht: loc should store proper gfid

    Change-Id: Ic1393d44a9ed4aaba23d7c9ddea45977b9dae5e4
    BUG: 1281265
    Signed-off-by: Sakshi Bansal <sabansal at redhat.com>
    Reviewed-on: http://review.gluster.org/12574
    Tested-by: NetBSD Build System <jenkins at build.gluster.org>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Raghavendra G <rgowdapp at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1114045
[Bug 1114045] DHT :- log is full of  ' Found anomalies in /<DIR> (gfid =
00000000-0000-0000-0000-000000000000)' -  for each Directory which was self
healed
https://bugzilla.redhat.com/show_bug.cgi?id=1281265
[Bug 1281265] DHT :- log is full of  ' Found anomalies in /<DIR> (gfid =
00000000-0000-0000-0000-000000000000)' -  for each Directory which was self
healed
-- 
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