Marco Volpini created an issue |
Thread updating cache in ResourcePool might block other threads to read other resources |
Issue Type: |
Bug |
---|---|
Assignee: |
|
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: |
Medium |
Reporter: |
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) |