bridge actor election and ttl - #354
Conversation
|
are we doing leader-election for bridge? why? |
Yeah after adding pprof Boris looked into it and figured that we might cause a leak with stale connections, leader required to prevent race conditions on clean-up only, it won't affect any other path |
|
I imagined the bridge being stateless. now it has "state" of a connection? |
|
Bad choice of words, but bridge, as stateless as it is, has a configmap of actors. Before pprof the list was stable. After pprof was added bridge got registrations from specific pods which made the configmap grow and keep stale actors on the list. So we need to clean the dead actors somehow. I bet we'll reach HPA too :P |
No description provided.