Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Given that this behavior requires a given configuration of replication as mentioned above, it is proposed to make it configurable by means of a new parameter to the "create gateway sender" command (--group-transaction-events) and that is not activated by default.


Other solutions explored to this problem that have been discarded are:

  • Send a new type of event inside batches , -event transactions events, that will contain all the events of a given transaction). This solution, did does not seem to fit well with the current code base as events are triggered on a region basis while transactions could contain events from several regions. The changes in the code required seemed to be much greater than the ones with the preferred solution.
  • Make sure in the gateway receiver that events for a transaction are only applied if all the batches where they have been delivered, have been received. This solution seemed to be more complex than the one preferred and did not provide extra benefits.

...