Bug 826512

Summary: [FEAT] geo-replication checkpoint support
Product: [Community] GlusterFS Reporter: Csaba Henk <csaba>
Component: geo-replicationAssignee: Csaba Henk <csaba>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: gluster-bugs, vkoppad
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Feature: Get feedback on sync state of geo-replication. User can specify a "checkpoint", a record of the master state as of the time. User will get info when the "checkpoint is reached", ie. when data present on master at the time of the checkpoint record is synced over to slave. Reason: Before this, we had _zero_ feedback on sync state, which is an utter antifeature. Result (if any): Works fine, though reports are mixed because the crucial bugfix of http://review.gluster.org/4248 got some delay in reaching customers.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-19 07:09:06 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 850514    

Description Csaba Henk 2012-05-30 11:43:32 UTC
Description of problem:

We need some feedback on the progress of a geo-rep a session.
Intuitively, one would like to know when the synchronization
completes. Alas, in real life use cases, changes are made
continuously, so a point of completion will never be reached.

However, it make sense to ask that given a certain timepoint,
when do we arrive to a state when all master side data has a
replica on slave that is no older than the timepoint.

Geo-rep checkpointing will be an UI enhancement that gives
an interface to ask and answer this question.

"Asking" is called "setting a checkpoint" which makes a note
of master's xtime at the given moment. When the above referred
sync state is reached, that we call the "completion of the
checkpoint" or "reaching the checkpoint".

"Answering" happens by providing info in geo-rep status
output about checkpoint completion.

Comment 1 Vijay Bellur 2013-01-22 06:26:08 UTC
CHANGE: http://review.gluster.org/3919 (geo-rep / glusterd: do non-blocking connect to checkpoint service) merged in master by Anand Avati (avati)

Comment 3 Csaba Henk 2013-05-08 09:22:46 UTC
*** Bug 921391 has been marked as a duplicate of this bug. ***