[Geoserver-devel] [JIRA] (GEOS-10387) Thread updating cache in ResourcePool might block other threads to read other resources

Marco Volpini created an issue

GeoServer / BugGEOS-10387

Thread updating cache in ResourcePool might block other threads to read other resources

Issue Type:

BugBug

Assignee:

Marco Volpini

Created:

11/Feb/22 9:02 AM

Environment:

The problem arised when a single thread took forever to run the creation of a DataStore before putting it inside the cache. This is due the fact that the synchronization block is acquired on the whole cache object.

To avoid this, the lock will be acquired on the resource id using CanonicalSet to ensure identity.

Priority:

MediumMedium

Reporter:

Marco Volpini

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100191-sha1:8f89d94)

Atlassian logo