Sander Zijlstra
2015-Jun-18 14:21 UTC
[Gluster-users] geo-replication settings: ignore-deletes
LS, I?ve created a replication session (cascaded btw) from our production cluster to a backup cluster with version 3.6.2 on CentOS 6.6 and when I want to deactivate the ?ignore-deletes? option I get the following error: [root at b02-bkp-01 ]# gluster volume geo-replication bkp01gv0 b02-bkp-02::bkp02gv0 config '!ignore-deletes' Reserved option geo-replication command failed According to the docs this is the way to deactivate the option, but clearly it doesn?t work! How do I de-actvate this option as I clearly don?t want deletes to be ignored when syncing 50TB ?.. Met vriendelijke groet / kind regards, Sander Zijlstra | Linux Engineer | SURFsara | Science Park 140 | 1098XG Amsterdam | T +31 (0)6 43 99 12 47 | sander.zijlstra at surfsara.nl <mailto:sander.zijlstra at surfsara.nl> | www.surfsara.nl <http://www.surfsara.nl/> | Regular day off on friday -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150618/e19f9252/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 496 bytes Desc: Message signed with OpenPGP using GPGMail URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150618/e19f9252/attachment.sig>
M S Vishwanath Bhat
2015-Jun-18 15:06 UTC
[Gluster-users] geo-replication settings: ignore-deletes
On 18 June 2015 at 19:51, Sander Zijlstra <sander.zijlstra at surfsara.nl> wrote:> LS, > > I?ve created a replication session (cascaded btw) from our production > cluster to a backup cluster with version 3.6.2 on CentOS 6.6 and when I > want to deactivate the ?ignore-deletes? option I get the following error: > > [root at b02-bkp-01 ]# gluster volume geo-replication bkp01gv0 > b02-bkp-02::bkp02gv0 config '!ignore-deletes' > Reserved option > geo-replication command failed > > According to the docs this is the way to deactivate the option, but > clearly it doesn?t work! > > How do I de-actvate this option as I clearly don?t want deletes to be > ignored when syncing 50TB ?.. >I believe the command is "\!ignore-deletes" Like below gluster volume geo-replication bkp01gv0 b02-bkp-02::bkp02gv0 config \!ignore-deletes Hope it works :) Greetings, Vishwanath> > Met vriendelijke groet / kind regards, > > *Sander Zijlstra* > > | Linux Engineer | SURFsara | Science Park 140 | 1098XG Amsterdam | T +31 > (0)6 43 99 12 47 | sander.zijlstra at surfsara.nl | www.surfsara.nl | > > *Regular day off on friday* > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150618/079bf44a/attachment.html>
There is a code bug which prevents changing this option. (Fixed in 3.7) Also geo-rep is ignoring this option in code, deletes are not ignored and will be propagated to Slave.(ignore-deletes is always False) In Gluster 3.7, ignore-delete is False by default and configurable. -- regards Aravinda On 06/18/2015 10:21 AM, Sander Zijlstra wrote:> LS, > > I?ve created a replication session (cascaded btw) from our production > cluster to a backup cluster with version 3.6.2 on CentOS 6.6 and when > I want to deactivate the ?ignore-deletes? option I get the following > error: > > [root at b02-bkp-01 ]# gluster volume geo-replication bkp01gv0 > b02-bkp-02::bkp02gv0 config '!ignore-deletes' > Reserved option > geo-replication command failed > > According to the docs this is the way to deactivate the option, but > clearly it doesn?t work! > > How do I de-actvate this option as I clearly don?t want deletes to be > ignored when syncing 50TB ?.. > > Met vriendelijke groet / kind regards, > > *Sander Zijlstra* > > | Linux Engineer | SURFsara | Science Park 140 | 1098XG Amsterdam | T > +31 (0)6 43 99 12 47 | sander.zijlstra at surfsara.nl > <mailto:sander.zijlstra at surfsara.nl> | www.surfsara.nl > <http://www.surfsara.nl> | > > /Regular day off on friday/ > > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150619/f6982ed7/attachment.html>