Bug 1019958 - RFE: geo-replication should check for and report identically named files/dirs on the slave [NEEDINFO]
Summary: RFE: geo-replication should check for and report identically named files/dirs...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: doc-Administration_Guide
Version: 2.1
Hardware: All
OS: Linux
high
high
Target Milestone: ---
: ---
Assignee: Divya
QA Contact: Vijaykumar Koppad
URL:
Whiteboard:
Depends On: 1019954
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-16 17:10 UTC by Kevin Clevenger
Modified: 2018-12-03 20:19 UTC (History)
15 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-09 16:48:07 UTC
Target Upstream Version:
asriram: needinfo? (mohit_anchlia)


Attachments (Terms of Use)

Comment 2 Amar Tumballi 2013-10-30 11:48:04 UTC
Can this be fine to link this with bug 1019954 which treats this case as a skip, and that would lead admin to query logs to figure out which all files are not synced.

Comment 6 Nagaprasad Sathyanarayana 2013-11-05 12:44:55 UTC
Looks like there is no further code fix required as customer is okay with the existing behavior as described by Amar in comment#4. Since Kevin has checked with customer and given a go, moving it to QE to confirm that the behavior is as described in comment #4.

Comment 7 Amar Tumballi 2013-11-07 18:08:55 UTC
Msg from QE:

This is error message you get if the slave already has data,

"slave-node::slave is not empty. Please delete existing files in slave-node::slave and retry, or use force to continue without deleting the existing files.
geo-replication command failed
"

Marking this bug for documentation (also changing the component).

Comment 9 Anjana Suparna Sriram 2013-11-11 09:28:57 UTC
Hi Mohit,

Could you review the doc (link in Comment 8) and let us know if it addresses your concern?

Regards,
Anjana

Comment 10 M S Vishwanath Bhat 2013-11-25 12:46:51 UTC
When a user tries to create a geo-rep session with the slave which already has data, geo-rep create throws an error like the one below.


[root@pythagoras ]# gluster v geo master euclid::slave create push-pem
euclid::slave is not empty. Please delete existing files in euclid::slave and retry, or use force to continue without deleting the existing files.
geo-replication command failed


Since this is documented in http://documentation-devel.engineering.redhat.com/docs/en-US/Red_Hat_Storage/2.1/html/Administration_Guide/chap-User_Guide-Geo_Rep-Starting.html#chap-User_Guide-Geo_Rep-Starting-Start I am moving this bug to verified.

If there is something else needed, please open a new bug.


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