diff options
author | dormando <dormando@rydia.net> | 2022-09-23 12:18:22 -0700 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2022-10-20 14:42:20 -0700 |
commit | cedaf5586883ffd2323307f45f90f4d70e94ecc2 (patch) | |
tree | cfbbd3addb6622a1908b22514ef071faa63a92ce /itoa_ljust.c | |
parent | 8d573b00a7c518dde1645e5f15f85e860931b763 (diff) | |
download | memcached-cedaf5586883ffd2323307f45f90f4d70e94ecc2.tar.gz |
proxy: backend connection improvement
Improvements to handling of new and failed backend socket connections.
Previously connections were initiated immediately, and initially from
the config thread, yet completion of opening sockets wouldn't happen
until a request tried to use that backend.
Now we open connections via the IO thread, as well as validate new
connections with a "version\r\n" command.
Also fixes a couple of error conditions (parsing, backend disconnect)
where clients could hang waiting for a retry time in certain conditions.
Now connections should re-establish immediately and dead backends should
flip into a bad fast-fail state quicker.
Diffstat (limited to 'itoa_ljust.c')
0 files changed, 0 insertions, 0 deletions