Concurrent modification exception in BaseSite

Description

We are experiencing multiple errors like this:

Activity

Show:

Alexandre Ballesté Crevillén February 14, 2017 at 6:06 AM

It seems like the error is not present in the 11.3RC01 qa server. As there is no clear way to prove it, the absence of the error feels like a good proof to verify as resolved in 11.3

Matthew Buckett November 1, 2016 at 4:52 AM

I thought that when we put a site into the cache we copied it and when we got it out of the cache we copied it, so that it shouldn't ever be the case that 2 threads are modifying the same site object.

There could be instances where a tool puts a site object in a session and then a users makes 2 concurrent request, but we can't help tools that are doing that too much.

However I don't think any 2 calls to the kernel getSite() service should return the same site object.

Juanjo Meroño October 31, 2016 at 11:05 AM

The error is raising in home page with multiple synoptic tools loading at the same time, so I guess is a concurrent safe issue.

Matthew Buckett October 31, 2016 at 9:40 AM

Are we saying that Site objects should be considered concurrent safe?

Juanjo Meroño October 31, 2016 at 8:34 AM

The error is pretty similar to this so I guess we could solve it with a similar fix.

Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Created October 31, 2016 at 8:33 AM
Updated April 25, 2018 at 3:18 PM
Resolved October 31, 2016 at 9:38 AM