[ 
https://issues.apache.org/jira/browse/ARTEMIS-4406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17759903#comment-17759903
 ] 

ASF subversion and git services commented on ARTEMIS-4406:
----------------------------------------------------------

Commit c1648d5917fc752364898aab040d3280f2c9a2f4 in activemq-artemis's branch 
refs/heads/main from Robbie Gemmell
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=c1648d5917 ]

ARTEMIS-4406: update LocalCache persisted entry tracking to use a 
ConcurrentHashMap


> connection router LocalCache persisted entry tracking is not thread safe
> ------------------------------------------------------------------------
>
>                 Key: ARTEMIS-4406
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4406
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Balancer
>    Affects Versions: 2.30.0
>            Reporter: Robbie Gemmell
>            Assignee: Robbie Gemmell
>            Priority: Major
>             Fix For: 2.31.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The persistedCacheEntries map within LocalCache used to track persisted 
> entries for the connection router is a regular HashMap and so is not thread 
> safe, but it may be updated concurrently. Switch it to using a 
> ConcurrentHashMap.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to