You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Alberto Gomez (Jira)" <ji...@apache.org> on 2022/09/09 08:00:00 UTC

[jira] [Reopened] (GEODE-8971) Batches with incomplete transactions when stopping the gateway sender

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

Alberto Gomez reopened GEODE-8971:
----------------------------------

This issue is reopened in order to state that it will not be solved because the solution provided (as it can be seen in the latest PR that reverts the proposed solution), creates a bigger problem than what it is trying to solve.

> Batches with incomplete transactions when stopping the gateway sender
> ---------------------------------------------------------------------
>
>                 Key: GEODE-8971
>                 URL: https://issues.apache.org/jira/browse/GEODE-8971
>             Project: Geode
>          Issue Type: Improvement
>          Components: wan
>    Affects Versions: 1.14.0
>            Reporter: Alberto Gomez
>            Assignee: Alberto Gomez
>            Priority: Major
>              Labels: pull-request-available
>
> When the gateway sender is stopped there is a high probability that batches with incomplete transactions are sent even if group-transaction-events is enabled.
> The reason is that once the stop command reaches the gateway sender, it immediately stops queueing events, and this could happen in the middle of receiving events for the same transaction. If this is the case, some events for the transaction may have reached the queue right before the stop command was received and the rest of events for that transaction would not make it to the queue (they would be dropped) because they arrived right after the stop command was received at the gateway sender.



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