Dnia 2012-09-17, pon o godzinie 17:25 +0200, Alexandre Jousset pisze: > > (There is a possibility of race - handling several session creation > > requests by router and pushing to several random SMs, before first > one > > binds user bare JID.) > > This case could be resolved if the router "auto-binds" the > "user@domain" route. There could still be problems if there are more > than one router. But that case (2+ routers auto-binding "user@domain" > at the same time) could be fixed by the conflict resolution we thought > before, just by canceling all the binds for "user@domain"...? > > What do you think?
Brilliant idea! Works for me. I would just make it temporary and extend it to all routing levels. Whenever the router makes a (random) decision to choose one of equal binds to route to, it sticks to this decision for a predefined time.
