Bug 1755212

Summary: geo-rep: performance improvement while syncing heavy renames with existing destination
Product: [Community] GlusterFS Reporter: Kotresh HR <khiremat>
Component: geo-replicationAssignee: bugs <bugs>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 7CC: amukherj, avishwan, bugs, csaba, khiremat, kiyer, pasik, puebele, rhs-bugs, storage-qa-internal, sunkumar
Target Milestone: ---Keywords: Performance
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1753857 Environment:
Last Closed: 2019-09-25 11:30:54 UTC Type: ---
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: 1726000, 1753857    
Bug Blocks: 1696809    

Description Kotresh HR 2019-09-25 04:45:08 UTC
+++ This bug was initially created as a clone of Bug #1753857 +++

+++ This bug was initially created as a clone of Bug #1726000 +++

Description of problem:

The bz#1694820
addresses issue for RENAME issue when handling RENAME with existing destination. This fix requires some performance tuning considering this issue occurs in heavy rename workload.
 
Version-Release number of selected component (if applicable):
master

How reproducible:


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:


Expected results:


Additional info:

--- Additional comment from Worker Ant on 2019-09-20 05:30:34 UTC ---

REVIEW: https://review.gluster.org/23459 (geo-rep: performance improvement while syncing renames with existing gfid) posted (#1) for review on master by Sunny Kumar

--- Additional comment from Worker Ant on 2019-09-23 12:07:40 UTC ---

REVIEW: https://review.gluster.org/23459 (geo-rep: performance improvement while syncing renames with existing gfid) merged (#2) on master by Kotresh HR

Comment 1 Worker Ant 2019-09-25 04:49:59 UTC
REVIEW: https://review.gluster.org/23475 (geo-rep: performance improvement while syncing renames with existing gfid) posted (#1) for review on release-7 by Kotresh HR

Comment 2 Worker Ant 2019-09-25 11:30:54 UTC
REVIEW: https://review.gluster.org/23475 (geo-rep: performance improvement while syncing renames with existing gfid) merged (#1) on release-7 by Kotresh HR