[Gluster-users] Atomic file updates
Jay Vyas
jayunit100 at gmail.com
Wed Feb 12 21:24:59 UTC 2014
For vanilla apps that are doing stuff in gluster, you normally do it
through a fuse mount.
mount -t glusterfs localhost:HadoopVol /mnt/glusterfs
But in your case, you might want to do some strict consistency settings to
make it atomic:
mount -t glusterfs localhost:HadoopVol -o
entry-timeout=0,attribute-timeout=0/mnt/glusterfs
This will make sure that everything is refreshed when you look up files.
This strategy has solved our eventual consistency requirements for the
hadoop plugin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140212/37191c60/attachment.html>
More information about the Gluster-users
mailing list