Commit e79abfe9 authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

[JM-1323] Fixed s2s lockup issues.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/branches@10239 b35dd754-fafc-0310-a699-88a17e54d16e
parent ab5fb644
......@@ -208,7 +208,8 @@ public class OutgoingSessionPromise implements RoutableChannelHandler {
// Create a connection to the remote server from the domain where the packet has been sent
boolean created;
// Make sure that only one cluster node is creating the outgoing connection
Lock lock = CacheFactory.getLock(domain, serversCache);
// TODO: Evaluate why removing the oss part causes nasty s2s and lockup issues.
Lock lock = CacheFactory.getLock(domain+"oss", serversCache);
try {
lock.lock();
created = LocalOutgoingServerSession
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment