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

Evgeny Stanilovsky updated IGNITE-21370:
----------------------------------------
    Fix Version/s: 3.2
                       (was: 3.1)

> Handle unacknowledged messages queue overflow
> ---------------------------------------------
>
>                 Key: IGNITE-21370
>                 URL: https://issues.apache.org/jira/browse/IGNITE-21370
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Roman Puchkovskiy
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.2
>
>
> An unacknowledges messages queue contained in RecoveryDescriptor is bounded. 
> Right now, its overflow (that causes an exception to be thrown) is not 
> handled.
> When the queue becomes full, we could forcibly close the cnannel to force 
> reconnection and unacked messages being resent during a handshake. We need to 
> be careful with message ordering wrt the message that causes the message 
> queue to be full. It seems that we need to detect 'the queue has JUST become 
> full, after adding this message', and not 'we cannot add this message because 
> the queue is full' as in the latter case it would be difficult to guarantee 
> the ordering (as the message is not added to the queue).
> Also, currently max queue size is 10. A better default should be chosen, and 
> this must be made configurable.



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

Reply via email to