gluster-devel
[Top][All Lists]
Advanced

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

[Gluster-devel] using 'option transport.socket.own-thread on'


From: John Smith
Subject: [Gluster-devel] using 'option transport.socket.own-thread on'
Date: Thu, 30 May 2013 19:25:16 +0200

Hi,


Im trying to run the prove test suite with setting 'option
transport.socket.own-thread on' for each vol file. Ive added a
function to include.rc that adds that to each vol file, and then
modified the individual tests to call that function after each 'volume
create' in the tests *.t files.

It looks like this :

function enable-multi-thread-vol ()
{
$CLI volume stop $V0 force >/dev/null 2>&1
service glusterd stop >/dev/null 2>&1
sync
find /var/lib/glusterd/ -name \*.vol | xargs sed -i 's/.*type
protocol.*/&\n    option transport.socket.own-thread on/'
service glusterd start >/dev/null 2>&1
$CLI volume start $V0 force >/dev/null 2>&1
}

So I stop the volume, stop glusterd services, modify the files, and
then restart glusterd and the volumes after each 'volume create'.

However, the modification 'option transport.socket.own-thread on'
doesnt always get added to the vol files.

I have no idea why this is not working. Any help would be appreciated.


Thanks,


Regards,


John Smith



reply via email to

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