gluster-devel
[Top][All Lists]
Advanced

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

[Gluster-devel] rename race condition in 3.4.0qa3


From: Emmanuel Dreyfus
Subject: [Gluster-devel] rename race condition in 3.4.0qa3
Date: Sun, 12 Jan 2014 05:37:17 +0100
User-agent: MacSOUP/2.7 (unregistered for 2549 days)

I encountered this issue: a brick crashed (because of memory shortage), 
and it produced that on the client:

/gfs351/manu/usr/src/obj/tooldir.NetBSD-6.1.2-i386/bin/i486--netbsdelf-install 
-U -M /gfs351/manu/usr/src/obj/destdir.i386/METALOG -D 
/gfs351/manu/usr/src/obj/destdir.i386 -h sha256 -N /gfs351/manu/usr/src/etc -c  
-r  -o root  -g wheel  -m 555   sensor_battery 
/gfs351/manu/usr/src/obj/destdir.i386/etc/powerd/scripts/sensor_battery
i486--netbsdelf-install: 
/gfs351/manu/usr/src/obj/destdir.i386/etc/powerd/scripts/sensor_battery.inst.04323a:
 rename: File exists

Of course it cannot be reproduced.  Client log says:

[2014-01-11 22:49:53.080186] W [client-rpc-fops.c:2356:client3_3_lk_cbk] 
0-gfs351-client-0: remote operation failed: Socket is not connected
[2014-01-11 22:49:53.201846] W [client-rpc-fops.c:2619:client3_3_link_cbk] 
0-gfs351-client-1: remote operation failed: File exists 
(/manu/usr/src/obj/destdir.i386/etc/powerd/scripts/sensor_battery.inst.04323a 
-> /manu/usr/src/obj/destdir.i386/etc/powerd/scripts/sensor_battery)
[2014-01-11 22:49:53.215302] W [fuse-bridge.c:1694:fuse_rename_cbk] 
0-glusterfs-fuse: 64995986: 
/manu/usr/src/obj/destdir.i386/etc/powerd/scripts/sensor_battery.inst.04323a -> 
/manu/usr/src/obj/destdir.i386/etc/powerd/scripts/sensor_battery => -1 (File 
exists)



-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]