Renaming a file in a distributed volume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux