Bug 1741044 - atime/mtime is not restored after healing for entry self heals
Summary: atime/mtime is not restored after healing for entry self heals
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: replicate
Version: 6
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
Assignee: Ravishankar N
QA Contact:
URL:
Whiteboard:
Depends On: 1572163 1734370
Blocks: 1741041
TreeView+ depends on / blocked
 
Reported: 2019-08-14 06:49 UTC by Ravishankar N
Modified: 2019-08-28 06:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1734370
Environment:
Last Closed: 2019-08-28 06:39:43 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Gluster.org Gerrit 23226 None Merged afr: restore timestamp of parent dir during entry-heal 2019-08-28 06:39:42 UTC

Description Ravishankar N 2019-08-14 06:49:44 UTC
+++ This bug was initially created as a clone of Bug #1734370 +++

+++ This bug was initially created as a clone of Bug #1572163 +++

Description of problem:

atime/mtime is not restored after healing for entry self heals

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

Build : glusterfs-3.12.2-8.el7rhgs.x86_64

How reproducible:

Always

Steps to Reproduce:

1) create 1 * 3  volume
2) create a 'dir' from mount
3) kill one brick
4) touch 'dir/file'
5) bring back brick after some time
6) after healing, mtime and ctime of 'dir' will be different, while it should be same.

Actual results:

After healing time is not same as orginal atime/ctime of the dir

From N1:

# ls -lrt /bricks/brick2/b0/
total 0
drwxr-xr-x. 2 root root 18 Apr 26 03:16 dir
#


From N2:

# ls -lrt /bricks/brick2/b1
total 0
drwxr-xr-x. 2 root root 18 Apr 26 02:47 dir
# 

Expected results:

mtime/atime should be same from all the bricks.

Comment 1 Worker Ant 2019-08-14 06:52:01 UTC
REVIEW: https://review.gluster.org/23226 (afr: restore timestamp of parent dir during entry-heal) posted (#1) for review on release-6 by Ravishankar N

Comment 2 Worker Ant 2019-08-28 06:39:43 UTC
REVIEW: https://review.gluster.org/23226 (afr: restore timestamp of parent dir during entry-heal) merged (#2) on release-6 by Ravishankar N


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