• Сергей Прохоров's avatar
    Fix "maybe_close_down" race-condition · 8031dafa
    Сергей Прохоров authored
    If downstream connection pool crashed and recovered while some
    upstream was alive holding it's DC ID, it may return downstream
    taken from the old incarnation of pool to new one because it's
    registered under the same name.
    Fix is to hold pool's PID instead of name
    8031dafa
mtp_dc_pool.erl 10.2 KB