Обсуждение: pgbouncer - pgbouncer: sbuf_close: dont retry event_del() if it fails,

Поиск
Список
Период
Сортировка

pgbouncer - pgbouncer: sbuf_close: dont retry event_del() if it fails,

От
mkz@pgfoundry.org (User Mkz)
Дата:
Log Message:
-----------
sbuf_close: dont retry event_del() if it fails, just proceed with cleanup.

The retry could have been bug in pgbouncer - although then the
question is that how to survive ENOMEM from event handlers that
may need allocation on event_del().

But this does not explain why it fails first time.  Seems there
is something funny going on in libevent.

Modified Files:
--------------
    pgbouncer/src:
        sbuf.c (r1.33 -> r1.34)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgbouncer/pgbouncer/src/sbuf.c.diff?r1=1.33&r2=1.34)