wso2 / product-micro-integrator

The cloud-native configuration driven runtime that helps developers implement composite microservices.
https://wso2.com/integration/
Apache License 2.0
204 stars 221 forks source link

Fix task duplication in a volatile environment #3617

Closed malakaganga closed 2 months ago

malakaganga commented 2 months ago

Purpose

This fix ensures robust handling of database delays without introducing task duplication (compromising availability over consistency) By introducing a timeout for each db event and disabling tasks on timeouts also stopping adding or removing members in a db connection turbulence is present.

Fixes: https://github.com/wso2/micro-integrator/issues/3463