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:
REVIEW: https://review.gluster.org/17450 (upcall: Update the access time in missing cases) posted (#1) for review on master by Poornima G (pgurusid)
REVIEW: https://review.gluster.org/17450 (upcall: Update the access time in missing cases) posted (#2) for review on master by Poornima G (pgurusid)
COMMIT: https://review.gluster.org/17450 committed in master by Niels de Vos (ndevos) ------ commit 149db390fd89beee1e8a3d946d4224ba2a9b4711 Author: Poornima G <pgurusid> 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> Reviewed-on: https://review.gluster.org/17450 Smoke: Gluster Build System <jenkins.org> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.org> Reviewed-by: Niels de Vos <ndevos>
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.12.0, please open a new bug report. glusterfs-3.12.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://lists.gluster.org/pipermail/announce/2017-September/000082.html [2] https://www.gluster.org/pipermail/gluster-users/