[Bugs] [Bug 1724624] New: LINK does not invalidate metadata cache of parent directory

bugzilla at redhat.com bugzilla at redhat.com
Thu Jun 27 12:30:10 UTC 2019


https://bugzilla.redhat.com/show_bug.cgi?id=1724624

            Bug ID: 1724624
           Summary: LINK does not invalidate metadata cache of parent
                    directory
           Product: GlusterFS
           Version: 5
            Status: NEW
         Component: upcall
          Severity: high
          Assignee: bugs at gluster.org
          Reporter: homma at allworks.co.jp
                CC: bugs at gluster.org
  Target Milestone: ---
    Classification: Community



Description of problem:
With cache invalidation enabled, a file creation by LINK does not invalidate
cache of the parent directory.

Version-Release number of selected component (if applicable):
glusterfs-fuse.x86_64 5.6-1.el7 from centos-gluster5 repository

How reproducible:
Often (depending on the timing of cache expiration)

Steps to Reproduce:
1. Enable cache invalidation by 'set group group metadata-cache'.
2. Do the following on the gluster volume:
  On client#1: ls -l
  On client#2: ls -l
  On client#1: echo test > dir1/test
  On client#1: ln dir1/test dir2/test
  On client#1: rm dir1/test
  On client#1: ls -l
  On client#2: ls -l

Actual results:
Timestamp of dir2 on client#2 is not updated.
About ten minutes later, cache on client#2 expires and timestamp of dir2 is
updated.

Expected results:
Timestamp of dir2 is updated immediately.

Additional info:
Dovecot detects changes of the mailbox by mtime of Maildir/new directory, this
results in up to 10 minutes delay in arrival of new mails.

-- 
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