Fix/redo failover optimization
Fix/redo failover optimization

Commit 9a878743 addressed inefficiency at failover, but introduced
inefficiency in the sending of outgoing requests in so doing: each
outgoing request added an request table entry keyed on a transport pid,
then looked for a specific element with this key, and then (later)
removed the inserted element. Since the request table is a bag, this
results in linear searches over a potentially long list of element
keyed on the same pid. The higher the rate of outgoing calls, the more
costly it becomes.

Instead of writing entries to the request table, the peer_up/down calls
to diameter_traffic that mirror transitions to and from the OKAY state
in the RFC 3539 watchdog state machine now result in a process for
request processes to monitor in order to detect failover.

mikpe/otp,bjorng/otp,dgud/otp,jj1bdx/otp,RoadRunnr/otp,vinoski/otp,uabboli/otp,aboroska/otp,lrascao/otp,RoadRunnr/otp,goertzenator/otp,dgud/otp,tuncer/otp,matwey/otp,mikpe/otp,matwey/otp,bernardd/otp,release-project/otp,cobusc/otp,vladdu/otp,cobusc/otp,legoscia/otp,bsmr-erlang/otp,potatosalad/otp,saleyn/otp,getong/otp,mikpe/otp,lrascao/otp,aboroska/otp,ferd/otp,falkevik/otp,emacsmirror/erlang,bjorng/otp,goertzenator/otp,release-project/otp,getong/otp,emacsmirror/erlang,saleyn/otp,mikpe/otp,weisslj/otp,rlipscombe/otp,jj1bdx/otp,massemanet/otp,kvakvs/otp,falkevik/otp,massemanet/otp,electricimp/otp,release-project/otp,vinoski/otp,bsmr-erlang/otp,ferd/otp,vinoski/otp,kvakvs/otp,ferd/otp,erlang/otp,saleyn/otp,g-andrade/otp,RaimoNiskanen/otp,dumbbell/otp,bsmr-erlang/otp,weisslj/otp,RaimoNiskanen/otp,dgud/otp,saleyn/otp,goertzenator/otp,massemanet/otp,electricimp/otp,vladdu/otp,isvilen/otp,getong/otp,bernardd/otp,isvilen/otp,jj1bdx/otp,uabboli/otp,g-andrade/otp,bjorng/otp,erlang/otp,ferd/otp,bsmr-erlang/otp,fenollp/otp,isvilen/otp,weisslj/otp,fenollp/otp,legoscia/otp,vladdu/otp,release-project/otp,tuncer/otp,tuncer/otp,uabboli/otp,potatosalad/otp,uabboli/otp,potatosalad/otp,ferd/otp,bernardd/otp,dgud/otp,ferd/otp,bernardd/otp,isvilen/otp,mikpe/otp,vladdu/otp,electricimp/otp,RoadRunnr/otp,bjorng/otp,lrascao/otp,dumbbell/otp,matwey/otp,uabboli/otp,electricimp/otp,aboroska/otp,RaimoNiskanen/otp,RaimoNiskanen/otp,g-andrade/otp,vladdu/otp,rlipscombe/otp,release-project/otp,fenollp/otp,dumbbell/otp,aboroska/otp,lrascao/otp,g-andrade/otp,uabboli/otp,matwey/otp,weisslj/otp,falkevik/otp,erlang/otp,weisslj/otp,saleyn/otp,legoscia/otp,release-project/otp,goertzenator/otp,isvilen/otp,RaimoNiskanen/otp,g-andrade/otp,tuncer/otp,emacsmirror/erlang,bjorng/otp,saleyn/otp,goertzenator/otp,matwey/otp,erlang/otp,potatosalad/otp,bernardd/otp,cobusc/otp,matwey/otp,weisslj/otp,fenollp/otp,RoadRunnr/otp,fenollp/otp,getong/otp,RaimoNiskanen/otp,emacsmirror/erlang,falkevik/otp,aboroska/otp,emacsmirror/erlang,fenollp/otp,isvilen/otp,weisslj/otp,bsmr-erlang/otp,getong/otp,ferd/otp,matwey/otp,jj1bdx/otp,kvakvs/otp,vladdu/otp,rlipscombe/otp,falkevik/otp,fenollp/otp,isvilen/otp,falkevik/otp,erlang/otp,tuncer/otp,jj1bdx/otp,mikpe/otp,massemanet/otp,getong/otp,falkevik/otp,massemanet/otp,RoadRunnr/otp,rlipscombe/otp,fenollp/otp,electricimp/otp,uabboli/otp,bjorng/otp,isvilen/otp,g-andrade/otp,getong/otp,vinoski/otp,electricimp/otp,emacsmirror/erlang,jj1bdx/otp,legoscia/otp,emacsmirror/erlang,kvakvs/otp,potatosalad/otp,vinoski/otp,getong/otp,uabboli/otp,isvilen/otp,rlipscombe/otp,falkevik/otp,lrascao/otp,massemanet/otp,dumbbell/otp,legoscia/otp,erlang/otp,goertzenator/otp,jj1bdx/otp,bernardd/otp,vinoski/otp,bjorng/otp,kvakvs/otp,saleyn/otp,getong/otp,dumbbell/otp,tuncer/otp,bernardd/otp,RoadRunnr/otp,cobusc/otp,aboroska/otp,fenollp/otp,mikpe/otp,release-project/otp,bjorng/otp,lrascao/otp,vladdu/otp,ferd/otp,vladdu/otp,kvakvs/otp,dumbbell/otp,mikpe/otp,potatosalad/otp,aboroska/otp,dgud/otp,dumbbell/otp,bsmr-erlang/otp,potatosalad/otp,dumbbell/otp,legoscia/otp,isvilen/otp,goertzenator/otp,weisslj/otp,goertzenator/otp,matwey/otp,jj1bdx/otp,saleyn/otp,dgud/otp,tuncer/otp,RaimoNiskanen/otp,legoscia/otp,emacsmirror/erlang,release-project/otp,bjorng/otp,RoadRunnr/otp,vinoski/otp,getong/otp,emacsmirror/erlang,uabboli/otp,massemanet/otp,lrascao/otp,massemanet/otp,aboroska/otp,erlang/otp,rlipscombe/otp,RoadRunnr/otp,dgud/otp,RaimoNiskanen/otp,jj1bdx/otp,bsmr-erlang/otp,vladdu/otp,g-andrade/otp,mikpe/otp,falkevik/otp,erlang/otp,kvakvs/otp,tuncer/otp,massemanet/otp,bernardd/otp,electricimp/otp,rlipscombe/otp,weisslj/otp,legoscia/otp,kvakvs/otp,vinoski/otp,g-andrade/otp,emacsmirror/erlang,lrascao/otp,RoadRunnr/otp,potatosalad/otp,cobusc/otp,release-project/otp,matwey/otp,potatosalad/otp,potatosalad/otp,goertzenator/otp,tuncer/otp,dumbbell/otp,kvakvs/otp,bsmr-erlang/otp,bsmr-erlang/otp,dgud/otp,vinoski/otp,cobusc/otp,saleyn/otp,legoscia/otp,rlipscombe/otp,g-andrade/otp,bjorng/otp,vinoski/otp,rlipscombe/otp,g-andrade/otp,dumbbell/otp,lrascao/otp,bernardd/otp,dgud/otp,ferd/otp,mikpe/otp,erlang/otp,electricimp/otp,electricimp/otp,erlang/otp,jj1bdx/otp,rlipscombe/otp,cobusc/otp,cobusc/otp,RaimoNiskanen/otp,dgud/otp,aboroska/otp