[Gluster-users] Renaming a file in a distributed volume

Stephan von Krawczynski skraw at ithnet.com
Sat Oct 13 15:05:08 UTC 2012


On Sat, 13 Oct 2012 15:52:56 +0100
Brian Candler <B.Candler at pobox.com> wrote:

> In a distributed volume (glusterfs 3.3), files within a directory are
> assigned to a brick by a hash of their filename, correct?
> 
> So what happens if you do "mv foo bar"? Does the file get copied to another
> brick? Is this no longer an atomic operation?
> 
> Thanks,
> 
> Brian.

In fact it has never been atomic.
Take a look at my corresponding bug report from "back then"...
You can use a small script to show it is not.

-- 
Regards,
Stephan



More information about the Gluster-users mailing list