Description of problem: ======================= While trying to write the following I/O pattern on the master mount 1. touch file1 2. ln -s "./file1" sym_400 3. mv sym_400 renamed_sym_400 4. mkdir sym_400 Master: ------ [root@dhcp42-41 master]# ls -l total 4 -rw-r--r--. 1 root root 0 Jul 20 09:46 file1 lrwxrwxrwx. 1 root root 7 Jul 20 09:47 renamed_sym_400 -> ./file1 drwxr-xr-x. 2 root root 4096 Jul 20 09:47 sym_400 Slave: ------ [root@dhcp42-41 slave]# ls -l total 0 -rw-r--r--. 1 root root 0 Jul 20 09:46 file1 lrwxrwxrwx. 1 root root 7 Jul 20 09:47 renamed_sym_400 -> ./file1 lrwxrwxrwx. 1 root root 7 Jul 20 09:47 sym_400 -> ./file1 Version-Release number of selected component (if applicable): ============================================================= [root@dhcp42-18 ~]# rpm -qa | grep gluster glusterfs-cli-3.12.2-14.el7rhgs.x86_64 python2-gluster-3.12.2-14.el7rhgs.x86_64 gluster-nagios-common-0.2.4-1.el7rhgs.noarch glusterfs-libs-3.12.2-14.el7rhgs.x86_64 glusterfs-api-3.12.2-14.el7rhgs.x86_64 glusterfs-events-3.12.2-14.el7rhgs.x86_64 libvirt-daemon-driver-storage-gluster-3.9.0-14.el7_5.6.x86_64 glusterfs-3.12.2-14.el7rhgs.x86_64 glusterfs-fuse-3.12.2-14.el7rhgs.x86_64 glusterfs-geo-replication-3.12.2-14.el7rhgs.x86_64 glusterfs-client-xlators-3.12.2-14.el7rhgs.x86_64 glusterfs-rdma-3.12.2-14.el7rhgs.x86_64 gluster-nagios-addons-0.2.10-2.el7rhgs.x86_64 vdsm-gluster-4.19.43-2.3.el7rhgs.noarch glusterfs-server-3.12.2-14.el7rhgs.x86_64 How reproducible: ================= 1/1 Steps to Reproduce: 1.Create and start a geo-rep session 2.Start the following I/O on the master mount: a. touch file1 b. ln -s "./file1" sym_400 c. mv sym_400 renamed_sym_400 d. mkdir sym_400 Actual results: =============== sym_400 was synced as symlink to the slave Expected results: ================= sym_400 should be synced as a directory Additional info: