[Gluster-devel] Blocking client when server is down

Harald Stürzebecher haralds at cs.tu-berlin.de
Wed Dec 31 08:26:45 UTC 2008


Hi!

2008/12/31 Martin Fick <mogulguy at yahoo.com>:
> --- On Tue, 12/30/08, Basavanagowda Kanur <gowda at zresearch.com> 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





More information about the Gluster-devel mailing list