You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/08/29 09:14:00 UTC

[jira] [Work logged] (ARTEMIS-4406) connection router LocalCache persisted entry tracking is not thread safe

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

ASF GitHub Bot logged work on ARTEMIS-4406:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 29/Aug/23 09:13
            Start Date: 29/Aug/23 09:13
    Worklog Time Spent: 10m 
      Work Description: gemmellr opened a new pull request, #4595:
URL: https://github.com/apache/activemq-artemis/pull/4595

   Address thread safety issue noticed during #4584 




Issue Time Tracking
-------------------

            Worklog Id:     (was: 878806)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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)