[Bugs] [Bug 1512371] New: parallel-readdir = TRUE prevents directories listing
bugzilla at redhat.com
bugzilla at redhat.com
Mon Nov 13 03:06:58 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1512371
Bug ID: 1512371
Summary: parallel-readdir = TRUE prevents directories listing
Product: GlusterFS
Version: 3.12
Component: arbiter
Severity: high
Assignee: bugs at gluster.org
Reporter: rhbugs at auto.smcleod.net
CC: bugs at gluster.org
Description of problem:
We found that our Gluster clients couldn't see directories when running `ls` or
`find`.
- They could create directories (which could not be seen after the fact).
- They could enter the directories they couldn't see with `cd`.
- They could create and see files.
- The hosts could see the directories.
After disabling `performance.parallel-readdir` on each volume - the problem
went away.
As per the docs, prior to enabling `performance.parallel-readdir` I had enabled
`performance.readdir-ahead`.
We suspect that as our typology is replica 3, arbiter 1 - _perhaps_ the read
operations are also happening on the arbiter node, where of course data doesn't
_really_ exist, only the metadata?
Version-Release number of selected component (if applicable):
- CentOS 7 x64
- Gluster Versions 3.12.1 and 3.12.2
- Gluster Client Versions 3.12.1 and 3.12.2
How reproducible:
- Always
Steps to Reproduce:
1. Setup CentOS 7, 3 Replica, 1 Arbiter node cluster running 3.12.2 (I'm
assuming .3 will also have the problem)
2. Create a volume for use by the native Gluster FUSE client
3. Enable performance.parallel-readdir on the volume
4. Mount the volume on a client using the native fuse client
5. Create a directory within the volume
Actual results:
- The directory cannot be seen with ls, find etc...
Expected results:
- The directory should show up
Additional info:
Example volume (in the broken state):
# gluster volume info dev_static
Volume Name: dev_static
Type: Replicate
Volume ID: e5042a4d-9ee8-42e4-a4b2-fd66c3e8cb39
Status: Started
Snapshot Count: 0
Number of Bricks: 1 x 3 = 3
Transport-type: tcp
Bricks:
Brick1: int-gluster-01.fqdn:/mnt/gluster-storage/dev_static
Brick2: int-gluster-02.fqdn:/mnt/gluster-storage/dev_static
Brick3: int-gluster-03.fqdn:/mnt/gluster-storage/dev_static
Options Reconfigured:
performance.parallel-readdir: true
performance.cache-refresh-timeout: 2
performance.write-behind-window-size: 2MB
server.event-threads: 10
performance.stat-prefetch: true
performance.io-thread-count: 32
performance.cache-size: 128MB
network.ping-timeout: 10
diagnostics.client-log-level: ERROR
diagnostics.brick-log-level: ERROR
cluster.use-compound-fops: true
cluster.readdir-optimize: true
cluster.lookup-optimize: true
cluster.favorite-child-policy: size
client.event-threads: 10
transport.address-family: inet
nfs.disable: on
performance.client-io-threads: true
cluster.brick-multiplex: enable
--
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