Bug 1709738 - geo-rep: Sync hangs with tarssh as sync-engine
Summary: geo-rep: Sync hangs with tarssh as sync-engine
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: geo-replication
Version: 6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-14 08:44 UTC by Kotresh HR
Modified: 2019-05-23 11:29 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-23 11:29:54 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gluster.org Gerrit 22725 0 None Merged geo-rep: Fix sync hang with tarssh 2019-05-23 11:29:53 UTC

Description Kotresh HR 2019-05-14 08:44:36 UTC
This bug was initially created as a copy of Bug #1707728

I am copying this bug because: 



Description of problem:
When the heavy workload as below on master, the sync is hung with sync engine tarssh. It's working fine with rsync as sync engine.

for i in {1..10000}
do
   echo "sample data" > /<mastermnt>/file$i
   mv -f /<mastermnt>/file$i /<mastermnt/file
done

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

How reproducible:
Most of the times

Steps to Reproduce:
1. Setup geo-rep with master 1*3 and slave 1*3
2. touch /<mastermnt>
3. Start geo-rep and wait till the status is changelog crawl
4. Configure sync-jobs to 1
   gluster vol geo-rep <master> <slavehost>::<slavevol> config sync-jobs 1
5. Configure sync engine to tarssh
   gluster vol geo-rep <master> <slavehost>::<slavevol> config sync-method tarssh
6. Stop the geo-rep
7. Do the I/O on mastermnt as mentioned
   for i in {1..10000}
   do
      echo "sample data" > /<mastermnt>/file$i
      mv -f /<mastermnt>/file$i /<mastermnt/file
   done
8. Start the geo-rep

Actual results:
Sync hungs

Expected results:
Sync should not hung.

Additional info:

Comment 1 Worker Ant 2019-05-14 08:54:51 UTC
REVIEW: https://review.gluster.org/22725 (geo-rep: Fix sync hang with tarssh) posted (#1) for review on release-6 by Kotresh HR

Comment 2 Worker Ant 2019-05-23 11:29:54 UTC
REVIEW: https://review.gluster.org/22725 (geo-rep: Fix sync hang with tarssh) merged (#3) on release-6 by Kotresh HR


Note You need to log in before you can comment on or make changes to this bug.