Bug 1159198 - Dist-geo-rep : geo-rep doesn't log the list of skipped gfid after it failed to process the changelog.
Summary: Dist-geo-rep : geo-rep doesn't log the list of skipped gfid after it failed t...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: geo-replication
Version: 3.6.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kotresh HR
QA Contact:
URL:
Whiteboard:
Depends On: 1102594 1103577
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-31 08:25 UTC by Kotresh HR
Modified: 2015-05-18 10:47 UTC (History)
9 users (show)

Fixed In Version: glusterfs-3.6.3beta1
Doc Type: Bug Fix
Doc Text:
Clone Of: 1103577
Environment:
Last Closed: 2015-05-18 10:47:11 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Kotresh HR 2014-10-31 08:25:24 UTC
+++ This bug was initially created as a clone of Bug #1103577 +++

+++ This bug was initially created as a clone of Bug #1102594 +++

Description of problem: 
geo-rep doesn't log the list of skipped files after it failed to process the changelog.

it logs logs like this,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[2014-05-29 14:29:22.645479] W [master(/bricks/brick2/b5):278:regjob] <top>: Rsync: .gfid/83f38ae8-bc22-4b09-b305-4f6f19595564 [errcode: 23]
[2014-05-29 14:29:22.646881] W [master(/bricks/brick2/b5):918:process] _GMaster: changelogs CHANGELOG.1401353904 could not be processed - moving on...
[2014-05-29 14:29:22.680587] W [master(/bricks/brick2/b5):922:process] _GMaster: SKIPPED GFID = 
[2014-05-29 14:29:24.467900] I [master(/bricks/brick1/b1):476:crawlwrap] _GMaster: 11 crawls, 4 turns

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>


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


How reproducible: Happens everytime.


Steps to Reproduce:
1. create geo-rep relationship between master(6x2 with 4 nodes) and slave(6x2 with 4 nodes). 
2. create data on master using the command "crefi -T 1 -n 100 --multi -b 10 -d 10 --random --min=1K --max=10K /mnt/master/"
3. In the above given release just executing above command would result in failure to sync few files.
4. Check log files for skipped gifd

Actual results: Geo-rep doesn't log, skipped gfid list 


Expected results: It should log skipped gfid list.

Comment 1 Anand Avati 2014-10-31 08:33:04 UTC
REVIEW: http://review.gluster.org/9022 (feature/geo-rep: Fix skipped files logging.) posted (#1) for review on release-3.6 by Kotresh HR (khiremat)

Comment 2 Anand Avati 2014-11-12 12:28:36 UTC
COMMIT: http://review.gluster.org/9022 committed in release-3.6 by Venky Shankar (vshankar) 
------
commit c5c19a353da77b5c4f00dada26023604b71f3ad7
Author: Kotresh H R <khiremat>
Date:   Fri May 30 01:43:15 2014 +0530

    feature/geo-rep: Fix skipped files logging.
    
    When changelog is failed to process even after max
    retries, files are skipped but were not logging.
    This patch addresses this issue to log the skipped
    files.
    
    BUG: 1159198
    Change-Id: I1f3d62cb61a940ee5e10e5a79e08fa65e1c15e97
    Reviewed-on: http://review.gluster.org/7945
    Signed-off-by: Kotresh HR <khiremat>
    Reviewed-on: http://review.gluster.org/9022
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Venky Shankar <vshankar>
    Tested-by: Venky Shankar <vshankar>

Comment 3 Aravinda VK 2015-05-18 10:47:11 UTC
This bug is getting closed because a release has been made available that
should address the reported issue. In case the problem is still not fixed with
glusterfs-3.7.0, please open a new bug report.


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