Gabriel Kuri
2015-Jun-22 22:09 UTC
[Gluster-users] geo-replication & directory move/rename
OK, so I just tested this in 3.6.3 and directory moves/renames seem to be working fine, so it seems like something happened somewhere between 3.6.3 and 3.7.2 that broke it? On Mon, Jun 22, 2015 at 11:50 AM, Gabriel Kuri <gkuri at ieee.org> wrote:> Running GlusterFS 3.7.2, is there a caveat when running geo-rep and > renaming or moving a directory on the master, the rename/move doesn't seem > to get propagated to the slave? > > For example, on the master: > > $ mkdir foo > $ mv foo/ bar/ > $ ls > bar > > On the slave after the move ... > > $ ls > foo > > If it's a file, rather than a directory, it seems to work fine, the issue > only seems to affect directories. > > Thanks ... >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150622/05c5b7d8/attachment.html>
Vijay Bellur
2015-Jun-22 23:11 UTC
[Gluster-users] geo-replication & directory move/rename
On Monday 22 June 2015 06:09 PM, Gabriel Kuri wrote:> OK, so I just tested this in 3.6.3 and directory moves/renames seem to > be working fine, so it seems like something happened somewhere between > 3.6.3 and 3.7.2 that broke it? >Possibly this commit broke it in 3.7: commit f1ac02a52f4019e7890ce501af7e825ef703d14d Author: Saravanakumar Arumugam <sarumuga at redhat.com> Date: Tue May 5 17:03:39 2015 +0530 geo-rep: rename handling in dht volume(changelog changes) I have sent out a patch for review [1] which should address the problem. Thanks for the report! -Vijay [1] http://review.gluster.org/11356