-
Bug
-
Resolution: Not a bug
-
Medium
-
None
-
2.5.4
-
None
-
Confluence 2.5.4 massive, Java 1.5, Linux
It would appear that the authenticator could be called twice at almost exactly the same time by 2 or more clustered servers.
It would seem as if when there are 2 load balanced confluence servers with session affinity based on IP that it should not throw an error if you have a single request come in to login and that login involves calling an authenticator to check to see if a user exists and if not then creating it. However, we are getting unique constraint errors when this occurs.
This has been logged within support issue CSP-10474. Attached code used to replicate the issue. Latest info on that plugin at: https://spaces.internet2.edu/display/SHIB/ShibbolizedConfluence
It is also noted that this issue could be caused (with that code) because there are two requests on the same server at the same time to create the user. I'm going to contact them about this and implement a workaround to ignore unique constraint exceptions in this code, but we have only seen this occur when we were clustering more than one server, and it has occurred twice in the last week with a very small (<10 user) userbase.
- is related to
-
CONFSERVER-9041 In clustered environment, if you add global logo, logo image file is not distributed to every server
-
- Closed
-
[CONFSERVER-9040] Authenticator (subclass of DefaultAuthenticator) can be called twice at almost exactly same time by 2 or more clustered servers
Workflow | Original: JAC Bug Workflow v3 [ 2877692 ] | New: CONFSERVER Bug Workflow v4 [ 3003617 ] |
Workflow | Original: JAC Bug Workflow v2 [ 2778025 ] | New: JAC Bug Workflow v3 [ 2877692 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JAC Bug Workflow [ 2716181 ] | New: JAC Bug Workflow v2 [ 2778025 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2382232 ] | New: JAC Bug Workflow [ 2716181 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 2274961 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2382232 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2233071 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 2274961 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2193839 ] | New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2233071 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 1927009 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2193839 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v3 [ 1736702 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 1927009 ] |
Workflow | Original: CONF Bug Subtask WF (TEMP) [ 1695275 ] | New: Confluence Workflow - Public Facing - Restricted v3 [ 1736702 ] |