[Bugs] [Bug 1591193] New: lookup not assigning gfid if file is not present in all bricks of replica
bugzilla at redhat.com
bugzilla at redhat.com
Thu Jun 14 09:09:44 UTC 2018
https://bugzilla.redhat.com/show_bug.cgi?id=1591193
Bug ID: 1591193
Summary: lookup not assigning gfid if file is not present in
all bricks of replica
Product: GlusterFS
Version: mainline
Component: replicate
Assignee: bugs at gluster.org
Reporter: ravishankar at redhat.com
CC: bugs at gluster.org
Description of problem:
commit 20fa80057eb430fd72b4fa31b9b65598b8ec1265 introduced a regression
wherein if a file is present in only 1 brick of replica *and* doesn't
have a gfid associated with it, it doesn't get healed upon the next
lookup from the client.
Found this while automating a glusto-test case which adds files directly from
the backend and expects lookup to assign gfid and complete the heal.
Steps to reproduce:
- Create a 1x3 vol and add different files to different bricks of the replica
directly on the backend.
- Try a lookup on the files individually from the client. It will fail with
ESTALE.
Comments:
While adding files directly to the bricks is not a supported usecase, we could
hit this in the client FOP path too if the bricks go down at the right time
etc.
--
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