Bug 994421 - 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 DEFERRED
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: distribute
Version: 2.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Nithya Balachandran
QA Contact: storage-qa-internal@redhat.com
URL:
Whiteboard:
Depends On:
Blocks: 1286099 1669937
TreeView+ depends on / blocked
 
Reported: 2013-08-07 09:10 UTC by senaik
Modified: 2019-01-28 05:56 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1286099 (view as bug list)
Environment:
Last Closed: 2015-11-27 10:48:05 UTC
Embargoed:


Attachments (Terms of Use)

Description senaik 2013-08-07 09:10:03 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 


Version-Release number of selected component (if applicable):
===========================================================
3.4.0.16rhs-1.el6rhs.x86_64

How reproducible:
================
Always


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

2.Fuse / NFS 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 


Additional info:
===================
[root@boost ~]# gluster v i distribute
 
Volume Name: distribute
Type: Distribute
Volume ID: 60b2cc68-e8b8-48e5-b7e0-3daaa0411ec1
Status: Started
Number of Bricks: 6
Transport-type: tcp
Bricks:
Brick1: 10.70.34.85:/rhs/brick1/b1
Brick2: 10.70.34.86:/rhs/brick1/b2
Brick3: 10.70.34.87:/rhs/brick1/b3
Brick4: 10.70.34.88:/rhs/brick1/b4
Brick5: 10.70.34.86:/rhs/brick1/b5
Brick6: 10.70.34.87:/rhs/brick1/b6


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