Bug 1709737

Summary: geo-rep: Always uses rsync even with use_tarssh set to true
Product: [Community] GlusterFS Reporter: Kotresh HR <khiremat>
Component: geo-replicationAssignee: Kotresh HR <khiremat>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6CC: bugs
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: Environment:
Last Closed: 2019-05-17 07:49:20 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:

Description Kotresh HR 2019-05-14 08:42:17 UTC
This bug was initially created as a copy of Bug #1707686

I am copying this bug because: 



Description of problem:
It always uses rsync to sync data even though use_tarssh is set to true.

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

How reproducible:
Always

Steps to Reproduce:
1. Setup geo-rep between two gluster volumes and start it
2. Set use_tarssh to true
3. Write a huge file on master
4. ps -ef | egrep "tar|rsync" while the big file is syncing to slave.

It show rsync process instead of tar over ssh

Actual results:
use_tarssh has not effect on sync-engine. It's always using rsync.

Expected results:
use_tarssh should use tarssh and not rsync


Additional info:

Comment 1 Worker Ant 2019-05-14 08:53:33 UTC
REVIEW: https://review.gluster.org/22724 (geo-rep: Fix sync-method config) posted (#1) for review on release-6 by Kotresh HR

Comment 2 Worker Ant 2019-05-17 07:49:20 UTC
REVIEW: https://review.gluster.org/22724 (geo-rep: Fix sync-method config) merged (#2) on release-6 by Amar Tumballi