Bug 1396581

Summary: when sharding is disabled on the volume, .shard directory is accessible from the fuse mount
Product: Red Hat Gluster Storage Reporter: SATHEESARAN <sasundar>
Component: shardingAssignee: Krutika Dhananjay <kdhananj>
Status: CLOSED WONTFIX QA Contact: SATHEESARAN <sasundar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rhgs-3.2CC: amukherj, kdhananj, rhs-bugs, sasundar, storage-qa-internal
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-17 09:38:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description SATHEESARAN 2016-11-18 16:26:53 UTC
Description of problem:
-----------------------
When sharding is disabled, .shard directory is visible and accessible from fuse mount. .shard directory should not be accessible.

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
glusterfs-3.8.4-5.el7rhgs

How reproducible:
-----------------
always

Steps to Reproduce:
-------------------
1. Create a replica 3 volume, enable sharding and start the volume
2. Fuse mount the volume and create some files
3. Disable sharding
4. Try accessing .shard directory from the fuse mount

Actual results:
---------------
.shard directory is accessible from the fuse mount, when sharding is disabled

Expected results:
-----------------
.shard directory should get accessed from fuse mount, when sharding is disabled on the volume

Comment 7 Krutika Dhananjay 2019-04-17 09:38:25 UTC
I am closing this bug (justification in comment #3, subsequently in comment #5).
Feel free to reopen it if you have any strong objections.