gluster-devel
[Top][All Lists]
Advanced

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

Re: [Gluster-devel] Blocking client when server is down


From: Harald Stürzebecher
Subject: Re: [Gluster-devel] Blocking client when server is down
Date: Wed, 31 Dec 2008 09:26:45 +0100

Hi!

2008/12/31 Martin Fick <address@hidden>:
> --- On Tue, 12/30/08, Basavanagowda Kanur <address@hidden> wrote:
>
>> If server is down for transport-timout time, then client
>> returns all the calls with 'Transport Endpoint not connected'
>> error.
>
> Yes, this is exactly what I do not want.  I want reads/writes to simply block 
> when the server is down and to complete (the blocked calls) when the server 
> returns.  I do not want my applications to get an error, only a delay.  
> Without this it is not possible to recover gracefully from a server/network 
> failure.
>
> While we are at it, what is the timeout in, seconds, milliseconds?

http://www.gluster.org/docs/index.php/Translators_v1.4#client says:
"# option transport-timeout 30            # seconds to wait for a response
                                         # from server for each request"

Setting that to 604800 should give you a week to fix the server. ;-)
I hope it will try to reconnect sometimes to see if the server is up again.


Harald Stürzebecher




reply via email to

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