Bug 1015099 - Dist-geo-rep : geo-rep status detail gives wrong info of files synced when a single file is modified multiple times.
Summary: Dist-geo-rep : geo-rep status detail gives wrong info of files synced when a ...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: geo-replication
Version: 2.1
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Bug Updates Notification Mailing List
QA Contact: amainkar
URL:
Whiteboard: status
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-03 12:57 UTC by Vijaykumar Koppad
Modified: 2015-08-06 14:50 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-06 14:50:40 UTC
Embargoed:


Attachments (Terms of Use)

Description Vijaykumar Koppad 2013-10-03 12:57:16 UTC
Description of problem: geo-rep status detail gives wrong info of files synced when a single file is modified multiple times.

[root@ninja ~]# gluster volume geo-replication snapstore gladiator.lab.eng.blr.redhat.com::snapstore status detail
 
                              MASTER: snapstore  SLAVE: gladiator.lab.eng.blr.redhat.com::snapstore
 
NODE                                HEALTH    UPTIME            FILES SYNCD    FILES PENDING    BYTES PENDING    DELETES PENDING  
---------------------------------------------------------------------------------------------------------------------------------
ninja.lab.eng.blr.redhat.com        Stable    1 day 17:02:33    42             1                2.6GB            0                
vertigo.lab.eng.blr.redhat.com      Stable    1 day 17:02:18    0              0                0Bytes           0   


The above  master volume has only 4 files, which are being modified, but status detail shows files synced as 42, when effectively it has synced only 4 files.
I guess it is considering data changes in changelog for a file as seperate files synced, when it has to consider only entry changes in the changelog. 

Version-Release number of selected component (if applicable):glusterfs-3.4.0.33rhs-1.el6rhs.x86_64


How reproducible:Happens every time 


Steps to Reproduce:
1.create geo-rep relationship between master and slave. 
2.create one file on master.
3.modify it manytimes , so that each update will have entry in different changelog. 
4. Check the status detail for files synced

Actual results:It gives wrong info of files synced in status detail 


Expected results: It should give correct info in geo-rep status detail.  


Additional info:

Comment 7 Aravinda VK 2015-08-06 14:50:40 UTC
files synced column is removed from status output in RHGS 3.1. If we introduce percistent store while working on RFE 988857, we can show number of Files synced. But with the existing limitation, this column is removed since it will mislead the user. 

Current status shows ENTRY, DATA and METADATA as three separate columns. Thease values will get reset whenever Geo-rep worker restarted. 

Closing this bug for the same reason. Please reopen this bug if the issue is found again.


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