[Bugs] [Bug 1287004] New: Making lookup-optimize on by default
bugzilla at redhat.com
bugzilla at redhat.com
Tue Dec 1 10:42:08 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1287004
Bug ID: 1287004
Summary: Making lookup-optimize on by default
Product: GlusterFS
Version: mainline
Component: distribute
Assignee: bugs at gluster.org
Reporter: spalai at redhat.com
CC: bugs at gluster.org, gluster-bugs at redhat.com
Description of problem:
Currently before creating a file dht will lookup on all subvols for this file,
and when it fails with an ENOENT is when the create happens. Such negative
lookups can be avoided by making lookup-optimize on, as the lookup goes only on
the hashed subvol. However due to parent layout change the hashed subvol of
some files can change without proper linkto file.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. Create distributed volume
2. create some files and observer how lookup is going on all subvols.
3. Now set lookup-optimize on
4. Create a directory and some files inside it. Make sure there are some
anomalies while creating the directory.
5. Trigger lookup selfheal on the directory.
6. Some of the files may now hash to other subvols.
7. If lookup-optimize is on it will not find these files.
Actual results:
Not listing some files.
Expected results:
Must list all files correctly.
Additional info:
--
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