Bug 1707728 - 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: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kotresh HR
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1708116
TreeView+ depends on / blocked
 
Reported: 2019-05-08 08:23 UTC by Kotresh HR
Modified: 2019-05-13 11:07 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1708116 (view as bug list)
Environment:
Last Closed: 2019-05-13 11:07:13 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 22684 0 None Merged geo-rep: Fix sync hang with tarssh 2019-05-13 11:07:12 UTC

Description Kotresh HR 2019-05-08 08:23:10 UTC
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-08 08:58:27 UTC
REVIEW: https://review.gluster.org/22684 (geo-rep: Fix sync hang with tarssh) posted (#1) for review on master by Kotresh HR

Comment 2 Worker Ant 2019-05-13 11:07:13 UTC
REVIEW: https://review.gluster.org/22684 (geo-rep: Fix sync hang with tarssh) merged (#4) on master by Sunny Kumar


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