Description of problem: Rename creates duplicate files when parallel readdirp is enabled for the volume. Version-Release number of selected component (if applicable): glusterfs-3.8.4-20.el7rhgs.x86_64 samba-client-4.6.2-0.el7rhgs.x86_64 How reproducible: Always Steps to Reproduce: 1.Update the gluster cluster with CTDB to 3.3.0 builds 2.Enable parralel-readdirp for the volume 3.Mount the volume in windows client 4.Create a file 5.Rename the same file 6.Refresh the explorer Actual results: The mount shows both the files Expected results: Should just rename the file without creating additional file Additional info:
Fix @ https://code.engineering.redhat.com/gerrit/#/c/102614/
So i did disable nl.cache and kept parallel-readdir enable and was able to reproduce the issue discussed in comment 6.
It is backported to downstream, and is merged: https://code.engineering.redhat.com/gerrit/#/c/103635/
upstream patch : https://review.gluster.org/17504
downstream patch : https://code.engineering.redhat.com/gerrit/#/c/108887/
With the latest gluster version the above issue is not seen. when i created 5000, 10,000, 50,000 & 1 Lakh zero kb files in separately in windows mount and then when i rename a file in each case, i don't see any duplicate file getting created. Version --------- samba-4.6.3-3.el7rhgs.x86_64 glusterfs-3.8.4-32.el7rhgs.x86_64
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:2774