[Bugs] [Bug 1460895] New: Upcall missing invalidations
bugzilla at redhat.com
bugzilla at redhat.com
Tue Jun 13 05:05:46 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1460895
Bug ID: 1460895
Summary: Upcall missing invalidations
Product: GlusterFS
Version: 3.11
Component: upcall
Assignee: bugs at gluster.org
Reporter: pgurusid at redhat.com
CC: bugs at gluster.org, ndevos at redhat.com
Depends On: 1458127
Blocks: 1298708
+++ This bug was initially created as a clone of Bug #1458127 +++
Description of problem:
In fops like rename, link, unlink etc, the parent dirrs' client access time was
not being updated. And in fops like create, link, symlink etc. the new
file/dirs' client access time was not updated.
Reproducer:
TEST $CLI volume set $V0 performance.nl-cache on
TEST $CLI volume set $V0 nl-cache-positive-entry on
TEST $CLI volume set $V0 nl-cache-timeout 2
TEST $CLI volume set $V0 features.cache-invalidation on
TEST $CLI volume set $V0 features.cache-invalidation-timeout 2
TEST $CLI volume set $V0 md-cache-timeout 20
TEST $CLI volume start $V0;
EXPECT 'Started' volinfo_field $V0 'Status';
TEST glusterfs --volfile-id=/$V0 --volfile-server=$H0 $M0
TEST glusterfs --volfile-id=/$V0 --volfile-server=$H0 $M1
TEST mkdir $M0/dir
TEST touch $M0/dir/xyz
sleep 4
TEST mv $M0/dir/xyz $M0/dir/xyz1
TEST ! ls $M0/dir/file1
TEST touch $M1/dir/file1
TEST ls $M0/dir/file1
TEST ls $M0/dir/file1
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
--- Additional comment from Worker Ant on 2017-06-02 01:56:35 EDT ---
REVIEW: https://review.gluster.org/17450 (upcall: Update the access time in
missing cases) posted (#1) for review on master by Poornima G
(pgurusid at redhat.com)
--- Additional comment from Worker Ant on 2017-06-04 00:38:46 EDT ---
REVIEW: https://review.gluster.org/17450 (upcall: Update the access time in
missing cases) posted (#2) for review on master by Poornima G
(pgurusid at redhat.com)
--- Additional comment from Worker Ant on 2017-06-09 07:30:35 EDT ---
COMMIT: https://review.gluster.org/17450 committed in master by Niels de Vos
(ndevos at redhat.com)
------
commit 149db390fd89beee1e8a3d946d4224ba2a9b4711
Author: Poornima G <pgurusid at redhat.com>
Date: Fri Jun 2 10:05:33 2017 +0530
upcall: Update the access time in missing cases
Issue: In fops like rename, link, unlink etc, the parent
dirrs' client access time was not being updated. And in fops like
create, link, symlink etc. the new file/dirs' client access time was
not updated.
Solution: Update the client access time for both parent and new entry.
Change-Id: Id9f63583216ae857f6251dca15797ac66fa85430
BUG: 1458127
Signed-off-by: Poornima G <pgurusid at redhat.com>
Reviewed-on: https://review.gluster.org/17450
Smoke: Gluster Build System <jenkins at build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
Reviewed-by: Niels de Vos <ndevos at redhat.com>
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1458127
[Bug 1458127] Upcall missing invalidations
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list