apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chetan Narsude (cnarsude)" <cnars...@cisco.com>
Subject Re: Committed Callback is Called From Heartbeat Loop
Date Tue, 10 Nov 2015 18:38:14 GMT
It¹s called from operator thread. The heartbeat queues it up for the
operator thread to pick it up.

Do you have example of having race conditions (in which case it would be a
bug not the design)?

‹
Chetan


On 11/10/15, 10:31 AM, "Timothy Farkas" <tim@datatorrent.com> wrote:

>Why is committed called from the heart beat loop? Shouldn't it be called
>from the main operator thread? I think this is inconsistent with the
>contract provided for the rest of the callbacks. This is also causing race
>conditions in some operators.


Mime
View raw message