Re: Blocking client when server is down

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

 



Hi!

2008/12/31 Martin Fick <mogulguy@xxxxxxxxx>:
> --- On Tue, 12/30/08, Basavanagowda Kanur <gowda@xxxxxxxxxxxxx> 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




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux