test-write and MKCOL

Timu EREN selamtux at gmail.com
Sat Apr 5 18:51:29 UTC 2008


	Hi all,
i begin a test nginx and mogileFS, i use nginx for perlbal, mogstored, and i 
looking at nginx logs i see some error logs like that:  

2008/04/05 21:16:00 [error] 11629#0: *27 MKCOL can create a collection only, 
client: 10.0.0.3, server: mogilestorage, request: "MKCOL /dev1/test-write 
HTTP/1.0"   

and i looking in mogileFS source code i see this, 
$dev->create_directory("/dev$devid/test-write");

and nginx is say "no end with slash, ok this is not a directory " and return 
error,

if this line changed with 
$dev->create_directory("/dev$devid/test-write/"); everythink is fine...

PS: sory for my bad english...
PS :patch is attached and i dont know maybe this is wrong, sory about that 
(sending patch to email list)

-- 
Saygılar && İyi çalışmalar
Timu EREN (a.k.a selam)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-write_dir.patch
Type: text/x-diff
Size: 722 bytes
Desc: not available
Url : http://lists.danga.com/pipermail/mogilefs/attachments/20080405/7a4e7c89/test-write_dir.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.danga.com/pipermail/mogilefs/attachments/20080405/7a4e7c89/attachment.pgp 


More information about the mogilefs mailing list