Verifies the integrety of the projects, as builds are executed immediately after a code change was detected. This plan provides no artifiacts (use a nightly build instead).

Build: #2543 was successful Changes by Guus der Kinderen

Build result summary

Details

Completed
Queue duration
< 1 second
Duration
11 minutes
Labels
None
Agent
Default Agent
Revision
0ca36fbb3c97c892b417fcb8343b022340039366
Total tests
1385
Successful since
#2535 ()

Tests

Code commits

Author Commit Message Commit date
Guus der Kinderen Guus der Kinderen 0ca36fbb3c97c892b417fcb8343b022340039366 OF-2755: Fix bug in cluster cleanup code
When a cluster node leaves the cluster, cleanup code is executed. Part of this code is a check that verifies if a certain cache contains entries for each incoming server session. This compares incoming server sessions from another data structure with the content of that cache.

This code previously assumed that there could only be one session per remote domain, which is a false assumption. Moreover, it didn't properly verify the StreamID value.

The assumption in the old code causes an exception to be thrown, which prevents the 'left cluster' event from being finished completely, leading to state inconsistencies.

Although it is likely unexpected that Openfire maintains multiple sessions per remote domain, having more than one is entirely feasible. The code should allow for this.

Jira issues

IssueDescriptionStatus
Unknown Issue TypeOF-2755Could not obtain issue details from Jira