Bug 1127401

Summary: [EARLY ACCESS] ignore-deletes option is not something you can configure
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Jacob Shucart <jshucart>
Component: geo-replicationAssignee: Aravinda VK <avishwan>
Status: CLOSED ERRATA QA Contact: storage-qa-internal <storage-qa-internal>
Severity: unspecified Docs Contact:
Priority: medium    
Version: rhgs-3.0CC: aavati, avishwan, csaba, kbarfiel, nlevinki, rhinduja
Target Milestone: ---   
Target Release: RHGS 3.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: config
Fixed In Version: glusterfs-3.7.0-2.el6rhs Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1189363 (view as bug list) Environment:
Last Closed: 2015-07-29 04:34:45 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: 1189363, 1202842, 1217929, 1223636    

Description Jacob Shucart 2014-08-06 19:59:26 UTC
Description of problem:

When I try to set ignore-deletes on geo-replication, it tells me it is a "Reserved option".  This should not be the easy, right?

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

3.0EA

Comment 2 Aravinda VK 2015-02-05 06:19:05 UTC
Upstream patch is sent for review: http://review.gluster.org/#/c/9583/

Comment 3 Aravinda VK 2015-03-30 16:36:49 UTC
As per comment 2, patch available in Upstream. Moving this to POST.

Comment 7 Rahul Hinduja 2015-05-25 10:27:52 UTC
Verified with the build: glusterfs-3.7.0-2.el6rhs.x86_64

Able to set the value to true/false as:


[root@georep1 scripts]# gluster volume geo-replication master 10.70.46.154::slave config  ignore_deletes yes
geo-replication config updated successfully
[root@georep1 scripts]# gluster volume geo-replication master 10.70.46.154::slave config  | grep ignore_deletes
ignore_deletes: yes
[root@georep1 scripts]# gluster volume geo-replication master 10.70.46.154::slave config  ignore_deletes no
geo-replication config updated successfully
[root@georep1 scripts]# gluster volume geo-replication master 10.70.46.154::slave config  | grep ignore_deletes
ignore_deletes: no
[root@georep1 scripts]# gluster volume geo-replication master 10.70.46.154::slave config  ignore_deletes 1
geo-replication config updated successfully
[root@georep1 scripts]# gluster volume geo-replication master 10.70.46.154::slave config  | grep ignore_deletes
ignore_deletes: 1
[root@georep1 scripts]# gluster volume geo-replication master 10.70.46.154::slave config  ignore_deletes 0
geo-replication config updated successfully
[root@georep1 scripts]# gluster volume geo-replication master 10.70.46.154::slave config  | grep ignore_deletes
ignore_deletes: 0
[root@georep1 scripts]# gluster volume geo-replication master 10.70.46.154::slave config  ignore_deletes true
geo-replication config updated successfully
[root@georep1 scripts]# gluster volume geo-replication master 10.70.46.154::slave config  | grep ignore_deletes
ignore_deletes: true
[root@georep1 scripts]# gluster volume geo-replication master 10.70.46.154::slave config  ignore_deletes false
geo-replication config updated successfully
[root@georep1 scripts]# gluster volume geo-replication master 10.70.46.154::slave config  | grep ignore_deletes
ignore_deletes: false
[root@georep1 scripts]# 

Also verified when the ignore_deletes is set to true, the files that are deleted from master doesn't sync to slave. 

Moving the bug to verified state.

Comment 9 errata-xmlrpc 2015-07-29 04:34:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-1495.html