Bug 1669937 - Rebalance : While rebalance is in progress , SGID and sticky bit which is set on the files while file migration is in progress is seen on the mount point
Summary: Rebalance : While rebalance is in progress , SGID and sticky bit which is set...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: distribute
Version: mainline
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard: dht-rebalance
Depends On: 994421 1286099
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-01-28 05:56 UTC by Nithya Balachandran
Modified: 2019-03-25 16:33 UTC (History)
1 user (show)

Fixed In Version: glusterfs-6.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1286099
Environment:
Last Closed: 2019-02-01 05:30:39 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gluster.org Gerrit 22103 0 None Merged cluster/dht: Remove internal permission bits 2019-02-01 05:30:38 UTC

Description Nithya Balachandran 2019-01-28 05:56:36 UTC
Description of problem:
========================= 
Listing files on the mount point while rebalance is in progress shows SGID and sticky bit set for the files which are still migrating 


Steps to Reproduce:
=================== 
1.Create distributed Volume and start it 

2.Fuse mount the volume and create some files 

3.Add bricks and start rebalance 

4. While rebalance is in progress, ll on the mount point 

-rw-r-Sr-T. 1 root root 10485760 Aug  7 14:18 f371
-rw-r--r--. 1 root root 10485760 Aug  7 11:55 f372
-rw-r--r--. 1 root root 10485760 Aug  7 11:55 f373
-rw-r--r--. 1 root root 10485760 Aug  7 11:55 f374
-rw-r--r--. 1 root root 10485760 Aug  7 11:55 f375
-rw-r--r--. 1 root root 10485760 Aug  7 14:19 f376
-rw-r--r--. 1 root root 10485760 Aug  7 14:19 f377
-rw-r--r--. 1 root root 10485760 Aug  7 11:55 f378
-rw-r--r--. 1 root root 10485760 Aug  7 11:55 f379
-rw-r--r--. 1 root root 10485760 Aug  7 11:47 f38
.
.
.
.

-rw-r--r--. 1 root root 10485760 Aug  7 11:48 f87
-rw-r-Sr-T. 1 root root 10485760 Aug  7 11:48 f88
-rw-r--r--. 1 root root 10485760 Aug  7 11:48 f89
-rw-r--r--. 1 root root 10485760 Aug  7 14:10 f9
-rw-r--r--. 1 root root 10485760 Aug  7 11:48 f90
-rw-r--r--. 1 root root 10485760 Aug  7 11:48 f91



Actual results:
===============
SGID and sticky bit which is set on the files while file migration is going on is seen on the mount point 

Expected results:
================== 
SGID and sticky bit which is set on the files while file migration is going on should not be seen on the mount point

Comment 1 Worker Ant 2019-01-28 06:52:32 UTC
REVIEW: https://review.gluster.org/22103 (cluster/dht: Remove internal permission bits) posted (#1) for review on master by N Balachandran

Comment 2 Worker Ant 2019-02-01 05:30:39 UTC
REVIEW: https://review.gluster.org/22103 (cluster/dht: Remove internal permission bits) merged (#2) on master by N Balachandran

Comment 3 Shyamsundar 2019-03-25 16:33:11 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-6.0, please open a new bug report.

glusterfs-6.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] https://lists.gluster.org/pipermail/announce/2019-March/000120.html
[2] https://www.gluster.org/pipermail/gluster-users/


Note You need to log in before you can comment on or make changes to this bug.