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

Robbie Gemmell updated ARTEMIS-5519:
------------------------------------
    Description: If a broker reports that it supports shared durable 
subscriptions the AMQP bridge address receiver could use those types of 
subscriptions to avoid a potential corner case where many rapid cycles of 
consumer demand being added and removed can lead to a race on processing the 
detach frame and allow the previous link to be stolen right before it is 
remotely closed. This corner case does not happen in most scenarios due to the 
presence of the link credit drain out and the idle link keep alive delay but 
depending on those configurations it is still possible.  By default this change 
prefers using shared subscriptions.   (was: If a broker reports that it 
supports shared durable subscriptions the AMQP bridge address receiver could 
use those types of subscriptions to avoid a potential corner case where many 
rapid cycles of consumer demand being added and removed can lead to a race on 
processing the detach frame and allow the previous link to be stolen right 
before it is remotely closed. This corner case does not happen in most 
scenarios due to the presence of the link credit drain out and the idle link 
keep alive delay but depending on those configurations it is still possible.  
By default this patch does not switch to always using shared subscriptions as 
that can leave an orphaned durable queue if already using durable address 
subscriptions but we can eventually move that direction in a major version 
update.  )

> Enable AMQP Bridge address receiver to use shared durable subscriptions
> -----------------------------------------------------------------------
>
>                 Key: ARTEMIS-5519
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5519
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: AMQP
>    Affects Versions: 2.41.0
>            Reporter: Timothy A. Bish
>            Assignee: Timothy A. Bish
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 2.42.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> If a broker reports that it supports shared durable subscriptions the AMQP 
> bridge address receiver could use those types of subscriptions to avoid a 
> potential corner case where many rapid cycles of consumer demand being added 
> and removed can lead to a race on processing the detach frame and allow the 
> previous link to be stolen right before it is remotely closed. This corner 
> case does not happen in most scenarios due to the presence of the link credit 
> drain out and the idle link keep alive delay but depending on those 
> configurations it is still possible.  By default this change prefers using 
> shared subscriptions. 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to