Unexpected "session not found" errors under load

Description

We see a significant increase in this error under high load:

2015.01.20 08:15:02 org.jivesoftware.openfire.handler.IQBindHandler - Error during resource binding. Session not found in [...] for key xmpp.domain.com/3f4dae0a

We can confirm via other log entries that the target session has been created, but it appears there is a race condition in the server that can cause the session to become temporarily invisible in certain cases.

In particular during the authentication handshake, there is a small window of time (not synchronized) where a session has been removed from the pre-authenticated sessions list, but has not yet been added to the core routing table.

Environment

None

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created January 26, 2015 at 9:24 PM
Updated January 27, 2015 at 5:33 PM
Resolved January 27, 2015 at 5:33 PM