Bug 1025358

Summary: Dist-geo-rep: checkpoint says completed even before checkpoint is reached.
Product: Red Hat Gluster Storage Reporter: Vijaykumar Koppad <vkoppad>
Component: geo-replicationAssignee: Amar Tumballi <amarts>
Status: CLOSED ERRATA QA Contact: Vijaykumar Koppad <vkoppad>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 2.1CC: aavati, amarts, bbandari, csaba, grajaiya, vraman
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.4.0.40rhs-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-27 15:45:12 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:
Bug Depends On: 1028675    
Bug Blocks:    

Description Vijaykumar Koppad 2013-10-31 14:27:46 UTC
Description of problem: geo-rep checkpoint says checkpoint completed even before even reaching the checkpoint. 


Version-Release number of selected component (if applicable):glusterfs-3.4.0.37rhs-1


How reproducible:Happens everytime


Steps to Reproduce:
1.create and start a geo-rep relationship between master and slave 
2.create some data on master and let it sync to slave.
3.set the checkpoint and it will say completed 
4.Now create some 1000 files on master, and set the checkpoint again.
5.Check the status.

Actual results: The checkpoint says completed even before checkpoint reached. 


Expected results: It shouldn't say completed until the checkpoint is reached. 


Additional info:

[root@shaktiman ~]# gluster v geo  master    ssh://10.70.43.159::slave  status
NODE                        MASTER    SLAVE                        HEALTH                                                                              UPTIME
------------------------------------------------------------------------------------------------------------------------------------------------------------------
shaktiman.blr.redhat.com    master    ssh://10.70.43.159::slave    Stable  | checkpoint as of 2013-10-31 14:00:13 completed at 2013-10-31 19:30:23     00:38:56
snow.blr.redhat.com         master    ssh://10.70.43.159::slave    Stable  | checkpoint as of 2013-10-31 14:00:13 completed at 2013-10-31 19:30:24     00:38:52
targarean.blr.redhat.com    master    ssh://10.70.43.159::slave    Stable  | checkpoint as of 2013-10-31 14:00:13 completed at 2013-10-31 19:30:23     00:38:53
riverrun.blr.redhat.com     master    ssh://10.70.43.159::slave    Stable  | checkpoint as of 2013-10-31 14:00:13 completed at 2013-10-31 19:30:23     00:38:53
[root@shaktiman ~]# gluster v geo  master    ssh://10.70.43.159::slave  status detail

                                                                                  MASTER: master  SLAVE: ssh://10.70.43.159::slave

NODE                          HEALTH                                                                              UPTIME      FILES SYNCD    FILES PENDING    BYTES PENDING    DELETES PENDING    TOTAL FILES SKIPPED
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
shaktiman.blr.redhat.com      Stable  | checkpoint as of 2013-10-31 14:00:13 completed at 2013-10-31 19:30:23     00:39:07    629            155              0Bytes           0                  0
snow.blr.redhat.com           Stable  | checkpoint as of 2013-10-31 14:00:13 completed at 2013-10-31 19:30:24     00:39:03    0              0                0Bytes           0                  0
riverrun.blr.redhat.com       Stable  | checkpoint as of 2013-10-31 14:00:13 completed at 2013-10-31 19:30:23     00:39:04    0              0                0Bytes           0                  0
targarean.blr.redhat.com      Stable  | checkpoint as of 2013-10-31 14:00:13 completed at 2013-10-31 19:30:23     00:39:04    674            129              0Bytes   


you can see , checkpoint says completed even when there are files pending to sync.

Comment 2 Amar Tumballi 2013-11-07 17:23:41 UTC
https://code.engineering.redhat.com/gerrit/15289

Comment 4 Vijaykumar Koppad 2013-11-12 10:45:06 UTC
verified on the build glusterfs-3.4.0.43rhs-1, It works fine now.

Comment 5 errata-xmlrpc 2013-11-27 15:45:12 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/RHBA-2013-1769.html