Hide Forgot
Presently handling the sticky bit after volume rebalance is an issue, as it gets removed. Further details can be found in the bug764101.
If this bug is the same as 2369, why isn't this marked as duplicate of that? Bug 2369 has been marked as fixed. Why is this bug still open? The release notes say that handling sticky bits is still an issue, and this bug contains no details about it. What is the true status of sticky bits after rebalance?
patch http://patches.gluster.com/patch/6717 fixes this.
Verified it for 3.2.1 release, [root@centos-qa-3 d3]# for i in {1..20}; do touch file.$i; chown saurabh file.$i; chgrp wheel file.$i; chmod 655 file.$i; chmod +t file.$i; echo $i; done [root@centos-qa-3 d3]# ls -l total 80 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:28 file.1 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:29 file.10 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:29 file.11 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:29 file.12 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:29 file.13 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:29 file.14 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:29 file.15 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:30 file.16 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:30 file.17 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:30 file.18 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:30 file.19 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:28 file.2 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:30 file.20 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:28 file.3 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:28 file.4 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:28 file.5 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:28 file.6 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:29 file.7 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:29 file.8 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:29 file.9 [root@centos-qa-client-2 sbin]# ./gluster volume add-brick dist 10.1.12.134:/mnt/d-dist Add Brick successful [root@centos-qa-client-2 sbin]# ./gluster volume rebalance Usage: volume rebalance <VOLNAME> [fix-layout|migrate-data] {start|stop|status} [root@centos-qa-client-2 sbin]# ./gluster volume rebalance dist start starting rebalance on volume dist has been successful [root@centos-qa-3 d3]# ls -l total 80 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.1 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.10 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.11 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:29 file.12 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.13 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.14 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.15 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:30 file.16 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:30 file.17 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.18 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.19 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.2 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.20 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.3 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.4 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.5 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.6 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.7 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.8 -rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.9 [root@centos-qa-3 d3]#