Bug 1285203 - dist-geo-rep: status details incorrectly indicate few files as skipped when all the files are properly synced to slave
Summary: dist-geo-rep: status details incorrectly indicate few files as skipped when a...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: geo-replication
Version: rhgs-3.1
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: ---
: RHGS 3.1.3
Assignee: Aravinda VK
QA Contact: Rahul Hinduja
URL:
Whiteboard: status
Depends On: 1025964
Blocks: 1299184
TreeView+ depends on / blocked
 
Reported: 2015-11-25 08:40 UTC by Aravinda VK
Modified: 2016-06-23 04:57 UTC (History)
11 users (show)

Fixed In Version: glusterfs-3.7.9-1
Doc Type: Bug Fix
Doc Text:
Clone Of: 1025964
Environment:
Last Closed: 2016-06-23 04:57:52 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1240 0 normal SHIPPED_LIVE Red Hat Gluster Storage 3.1 Update 3 2016-06-23 08:51:28 UTC

Comment 2 Aravinda VK 2016-01-13 08:06:44 UTC
Rsync errors are handled effectively, Log file only records the skipped files with error details instead of recording all the files list as skipped.

Upstream Patch: http://review.gluster.org/#/c/12856/

Comment 4 Aravinda VK 2016-03-23 06:24:07 UTC
Patch for this bug is available in rhgs-3.1.3 branch as part of rebase from upstream release-3.7.9.

Comment 6 Rahul Hinduja 2016-04-18 16:41:05 UTC
Verified with the build: glusterfs-3.7.9-1

Incase of incomplete sync, changelog is reprocessed and logs error for rsync (If any) instead of all other gfid's which are synced to be marked skipped.

[2016-04-18 16:15:01.348016] W [master(/rhs/brick1/b2):1058:process] _GMaster: incomplete sync, retrying changelogs: CHANGELOG.1460996093
[2016-04-18 16:15:02.307766] E [resource(/rhs/brick1/b2):991:rsync] SSH: SYNC Error(Rsync): rsync: open "/proc/5527/cwd/.gfid/03f55e3c-bc6f-4eae-b7ea-15b6a65514f0" failed: Operation not permitted (1)
[2016-04-18 16:15:02.308784] E [master(/rhs/brick1/b2):1037:process] _GMaster: changelogs CHANGELOG.1460996093 could not be processed completely - moving on...
[2016-04-18 16:15:11.359797] I [master(/rhs/brick1/b2):532:crawlwrap] _GMaster: 18 crawls, 1 turns


Status detail command is changed since 3.1.1 and it doesn't show skipped files count. 

In 3.1.2, for every incomplete changelog which needs to be synced used to log all gfids as skipped which is synced. It doesn't log all gfid in 3.1.3 and logs as rsync error if it fails, else it completes the changelog without reporting error or skipped for GFID. 

Moving this bug to verified state.

Comment 8 errata-xmlrpc 2016-06-23 04:57:52 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://access.redhat.com/errata/RHBA-2016:1240


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