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
Rebalance : While rebalance is in progress , SGID and sticky bit which is set...
Status: CLOSED DEFERRED
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: distribute (Show other bugs)
2.1
Unspecified Unspecified
unspecified Severity medium
: ---
: ---
Assigned To: Nithya Balachandran
storage-qa-internal@redhat.com
:
Depends On:
Blocks: 1286099
  Show dependency treegraph
 
Reported: 2013-08-07 05:10 EDT by senaik
Modified: 2015-11-27 05:48 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1286099 (view as bug list)
Environment:
Last Closed: 2015-11-27 05:48:05 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description senaik 2013-08-07 05:10:03 EDT
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.