Bug 1694820

Summary: Geo-rep: Data inconsistency while syncing heavy renames with constant destination name
Product: [Community] GlusterFS Reporter: Sunny Kumar <sunkumar>
Component: geo-replicationAssignee: Sunny Kumar <sunkumar>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, khiremat, pasik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1708121 (view as bug list) Environment:
Last Closed: 2019-04-26 07:15:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1708121    

Description Sunny Kumar 2019-04-01 19:01:58 UTC
Description of problem:

This problem only exists in heavy RENAME workload where parallel rename are frequent or doing RENAME with existing destination.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Run frequent RENAME on master mount and check for sync in slave.

Ex - while true; do uuid="`uuidgen`"; echo "some data" > "test$uuid"; mv "test$uuid" "test" -f; done 

Actual results:

Does not syncs renames properly and creates multiples files in slave.

Expected results:
Should sync renames.

Comment 1 Worker Ant 2019-04-01 19:10:45 UTC
REVIEW: https://review.gluster.org/22474 (geo-rep: fix rename with existing gfid) posted (#1) for review on master by Sunny Kumar

Comment 2 Worker Ant 2019-04-07 05:23:33 UTC
REVIEW: https://review.gluster.org/22519 (geo-rep: Fix rename with existing destination with same gfid) posted (#1) for review on master by Kotresh HR

Comment 3 Worker Ant 2019-04-26 07:15:41 UTC
REVIEW: https://review.gluster.org/22519 (geo-rep: Fix rename with existing destination with same gfid) merged (#7) on master by Amar Tumballi