You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each matching task as TTL associated with them (at persistence layer). After task is expired, they will be removed from persistence and won't be read back by matching task reader.
However, if a task is read into matching task queue manager, but sitting in memory queue waiting for poller to pick them up, they won't expire anymore. So if the poller is slow in consuming them (for example by PerTaskQueueRateLimit), those task in matching task queue manager in-memory queue could expire and still be matched to a poller, but before returning to poller, matching needs to recordActivityTaskStarted which will fail because history already timeout that task as it is already expired.
We need to check if task is already expired before match it to a poller.
The text was updated successfully, but these errors were encountered:
Each matching task as TTL associated with them (at persistence layer). After task is expired, they will be removed from persistence and won't be read back by matching task reader.
However, if a task is read into matching task queue manager, but sitting in memory queue waiting for poller to pick them up, they won't expire anymore. So if the poller is slow in consuming them (for example by PerTaskQueueRateLimit), those task in matching task queue manager in-memory queue could expire and still be matched to a poller, but before returning to poller, matching needs to recordActivityTaskStarted which will fail because history already timeout that task as it is already expired.
We need to check if task is already expired before match it to a poller.
The text was updated successfully, but these errors were encountered: