Bug 1098867 - Changelog: Draining and explicit rollover of changelog journal for geo-rep to work with snapshots.
Summary: Changelog: Draining and explicit rollover of changelog journal for geo-rep to...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: geo-replication
Version: rhgs-3.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: RHGS 3.0.0
Assignee: Kotresh HR
QA Contact: Bhaskar Bandari
URL:
Whiteboard:
Depends On: 1091817
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-19 05:44 UTC by Kotresh HR
Modified: 2015-05-13 16:57 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1091817
Environment:
Last Closed: 2014-09-22 19:38:09 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:1278 0 normal SHIPPED_LIVE Red Hat Storage Server 3.0 bug fix and enhancement update 2014-09-22 23:26:55 UTC

Description Kotresh HR 2014-05-19 05:44:24 UTC
+++ This bug was initially created as a clone of Bug #1091817 +++

Description of problem:

Draining and explicit rollover of changelog journal in changelog needs to be implemented for geo-replication to work with snapshots.

Please go through the following link for more details.

http://www.gluster.org/community/documentation/index.php/Changelog_Design_changes_for_snapshot



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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Anand Avati on 2014-05-02 00:45:04 EDT ---

REVIEW: http://review.gluster.org/7636 (features/changelog: Fix to remove Warning message.) posted (#1) for review on master by Kotresh HR (khiremat)

--- Additional comment from Anand Avati on 2014-05-02 00:48:05 EDT ---

REVIEW: http://review.gluster.org/7636 (features/changelog: Fix to remove Warning message.) posted (#2) for review on master by Kotresh HR (khiremat)

--- Additional comment from Anand Avati on 2014-05-02 03:22:34 EDT ---

COMMIT: http://review.gluster.org/7636 committed in master by Vijay Bellur (vbellur) 
------
commit 936010740d45c1ecde4072cf5323e838c31bbbf0
Author: Kotresh H R <khiremat>
Date:   Fri May 2 09:48:31 2014 +0530

    features/changelog: Fix to remove Warning message.
    
            Fix warning message introduced in changelog
            draining patch. It is not caught in gcc 4.4,
            caught in gcc 4.8!!
    
    Signed-off-by: Kotresh H R <khiremat>
    
    Change-Id: I01a8fda2102a409dd6e935805d4d48b41b615fe8
    BUG: 1091817
    Signed-off-by: Kotresh H R <khiremat>
    Reviewed-on: http://review.gluster.org/7636
    Reviewed-by: Venky Shankar <vshankar>
    Tested-by: Venky Shankar <vshankar>

Comment 1 Kotresh HR 2014-05-19 05:49:02 UTC
This is the actual patch 
http://review.gluster.org/#/c/7216/ which is merged

Comment 2 Kotresh HR 2014-05-19 05:50:28 UTC
Fixed in Version: glusterfs-3.6.0.2-1

Comment 4 Vivek Agarwal 2014-05-26 06:17:26 UTC
Fixed as a part of the rebase, marking the bz for Denali

Comment 5 Vijaykumar Koppad 2014-06-19 13:58:26 UTC
Verified on the build glusterfs-3.6.0.18-1.el6rhs, 

Brick logs look like ,

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
# tailf /var/log/glusterfs/bricks/bricks-brick1-master_b4.log | egrep "White fops|Black fops"
[2014-06-19 13:45:51.562570] D [changelog-helpers.c:674:changelog_rollover] 0-master-changelog: White fops to be drained:0
[2014-06-19 13:45:51.562570] D [changelog-helpers.c:674:changelog_rollover] 0-master-changelog: White fops to be drained:0
[2014-06-19 13:46:01.976748] D [changelog-helpers.c:667:changelog_rollover] 0-master-changelog: Black fops to be drained:5
g-helpers.c:667:changelog_rollover] 0-master-changelog: Black fops to be drained:5
[2014-06-19 13:46:11.211103] D [changelog-helpers.c:674:changelog_rollover] 0-master-changelog: White fops to be drained:0

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

Comment 8 errata-xmlrpc 2014-09-22 19:38:09 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.

http://rhn.redhat.com/errata/RHEA-2014-1278.html


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