Bug 1025392 - dist-geo-rep : No way to reset or unset the checkpoint once set.
Summary: dist-geo-rep : No way to reset or unset the checkpoint once set.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: geo-replication
Version: 2.1
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: ---
Assignee: Amar Tumballi
QA Contact: Vijaykumar Koppad
URL:
Whiteboard:
Depends On: 1028675
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-31 15:16 UTC by Vijaykumar Koppad
Modified: 2014-08-25 00:50 UTC (History)
7 users (show)

Fixed In Version: glusterfs-3.4.0.40rhs-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-27 15:45:17 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1769 0 normal SHIPPED_LIVE Red Hat Storage 2.1 enhancement and bug fix update #1 2013-11-27 20:17:39 UTC

Description Vijaykumar Koppad 2013-10-31 15:16:13 UTC
Description of problem: Earlier, once the checkpoint was set it was able to reset or unset using command "gluster v geo <master> <slave-url> config \!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.set config checkpoint
3.try to unset it using the command "gluster v geo <master> <slave-url> config \!checkpoint" 

Actual results: It doesn't have any effect.


Expected results: should be able to unset with that command. 


Additional info:

Comment 2 Amar Tumballi 2013-11-02 16:23:12 UTC
https://code.engineering.redhat.com/gerrit/15088

Comment 3 Vijaykumar Koppad 2013-11-05 10:48:48 UTC
I tried it in the build  glusterfs-3.4.0.39rhs, it doesn't work.

Comment 4 Aravinda VK 2013-11-06 07:12:47 UTC
Since we made the change not to restart when checkpoint changed. Checkpoint change will reflect in when checkpoint loop reads the value next time(a few seconds delay)

Comment 5 Aravinda VK 2013-11-06 07:16:22 UTC
Please try the following:

1. Set checkpoint
2. Check the config values(checkpoint)
"gluster v geo <master> <slave-url> config
3. Reset the checkpoint
"gluster v geo <master> <slave-url> config \!checkpoint"
4. Check the config values using
"gluster v geo <master> <slave-url> config


Amar, in your patch we may need to remove "checkpoint_target" along with the "checkpoint_completed"

Comment 7 Vijaykumar Koppad 2013-11-12 07:37:06 UTC
verified on glusterfs-3.4.0.43rhs-1. Now it can be reset using the command "gluster v geo <master> <slave-url> config \!checkpoint"

Comment 8 errata-xmlrpc 2013-11-27 15:45:17 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


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