[ 
https://issues.apache.org/jira/browse/ARTEMIS-4801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Timothy A. Bish resolved ARTEMIS-4801.
--------------------------------------
    Resolution: Fixed

> AMQP Session address query cache can have invalid state for long lived 
> sessions
> -------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-4801
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4801
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: AMQP
>    Affects Versions: 2.34.0
>            Reporter: Timothy A. Bish
>            Assignee: Timothy A. Bish
>            Priority: Major
>             Fix For: 2.35.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The AMQPSessionCallback retains a map of AddressQueryResult instances for 
> previous address checks.  This map is not updated if the state of broker 
> addresses changes, neither addresses added, removed or updated states are 
> reflected in the cache.  This leads to issues for long running sessions where 
> a link attach may fail for a non-existent address and on a later attempt 
> should succeed if the address was added but can't because the cache will 
> still hold the non-exists query result.  Other scenarios are possible such as 
> an address removed and re-added with different routing type but the former 
> case is more serious. 
> The cache should be removed and if a similar optimization is actually found 
> to be needed a better mechanism should be chosen to avoid the issues found.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@activemq.apache.org
For additional commands, e-mail: issues-h...@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact


Reply via email to