Bug 1146413

Summary: Symlink mtime changes when rebalancing
Product: [Community] GlusterFS Reporter: Niels de Vos <ndevos>
Component: distributeAssignee: bugs <bugs>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.6.0CC: anders.blomdell, bugs, kaushal
Target Milestone: ---Keywords: Patch, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1122443 Environment:
Last Closed: 2016-08-30 13:06:13 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:
Embargoed:
Bug Depends On: 1122443    
Bug Blocks: 1184460    

Description Niels de Vos 2014-09-25 08:34:01 UTC
+++ This bug was initially created as a clone of Bug #1122443 +++
+++                                                           +++
+++ This bug is used for backporting the change to 3.6.0.     +++
+++                                                           +++

Description of problem:

When migrating approx 1 GB of data data by doing 

  gluster volume add-brick test new-host1:/path/to/new/brick ...
  gluster volume remove-brick old-host1:/path/to/old/brick ... start
  ... wait for removal to finish
  gluster volume remove-brick old-host1:/path/to/old/brick ... commit

on a 3*4 -> 6*4 -> 3*4 gluster [version  3.7dev-0.9.git5b8de97] approximately
40% of the symlinks change their mtime to the time they were copied. 


Version-Release number of selected component (if applicable):

3.7dev-0.9.git5b8de97

How reproducible:

Unknown (once so far), will try to come up with a reproducible (and hopefully smaller) test case.

--- Additional comment from Anand Avati on 2014-07-29 17:15:30 CEST ---

REVIEW: http://review.gluster.org/8383 (Symlink mtime changes when rebalancing) posted (#1) for review on master by Anders Blomdell (anders.blomdell.se)

--- Additional comment from Anand Avati on 2014-07-29 18:47:54 CEST ---

REVIEW: http://review.gluster.org/8383 (Symlink mtime changes when rebalancing) posted (#2) for review on master by Anders Blomdell (anders.blomdell.se)

--- Additional comment from Anand Avati on 2014-07-29 19:12:55 CEST ---

REVIEW: http://review.gluster.org/8383 (Symlink mtime changes when rebalancing) posted (#3) for review on master by Anders Blomdell (anders.blomdell.se)

--- Additional comment from Anand Avati on 2014-07-30 12:30:38 CEST ---

REVIEW: http://review.gluster.org/8383 (Symlink mtime changes when rebalancing) posted (#4) for review on master by Anders Blomdell (anders.blomdell.se)

--- Additional comment from Anand Avati on 2014-07-31 18:08:06 CEST ---

COMMIT: http://review.gluster.org/8383 committed in master by Anand Avati (avati) 
------
commit a278c2aecedfbe17e2749109d73b292ca25ff439
Author: Anders Blomdell <anders.blomdell.se>
Date:   Tue Jul 29 17:11:20 2014 +0200

    Symlink mtime changes when rebalancing
    
    Added mtime preservation for special files during rebalance.
    
    Change-Id: If04921d4d66853fde8b4d8a3ab748790864f8f42
    BUG: 1122443
    Signed-off-by: Anders Blomdell <anders.blomdell.se>
    Reviewed-on: http://review.gluster.org/8383
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Shyamsundar Ranganathan <srangana>
    Reviewed-by: Harshavardhana <harsha>
    Reviewed-by: Anand Avati <avati>

Comment 1 Kaushal 2016-08-30 13:06:13 UTC
This bug is being closed as GlusterFS-3.6 is nearing its End-Of-Life and only important security bugs will be fixed. This bug has been fixed in more recent GlusterFS releases. If you still face this bug with the newer GlusterFS versions, please open a new bug.