question about timers

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

question about timers

Marco Villalobos-2
If there are timers that have been checkpointed (we use rocksdb), and the system goes down, and then the system goes back up after the timers should have fired, do those timers that were skipped still fire, even though we are past that time?

example:

for example, if the current time is 1:00 p.m.  And the timer is supposed to fire at 1:15 p.m.
and the system crashes at 1:00 p.m., but is brought back up at 1:20 p.m.  

Does the timer still fire?
Reply | Threaded
Open this post in threaded view
|

Re: question about timers

Seth Wiesman
Yes,

Processing time timers that should have fired will fire immediately in order.

Event time timers are never *late*, they will just fire when the watermark advances.

Seth

On Tue, Jan 19, 2021 at 3:58 PM Marco Villalobos <[hidden email]> wrote:
If there are timers that have been checkpointed (we use rocksdb), and the system goes down, and then the system goes back up after the timers should have fired, do those timers that were skipped still fire, even though we are past that time?

example:

for example, if the current time is 1:00 p.m.  And the timer is supposed to fire at 1:15 p.m.
and the system crashes at 1:00 p.m., but is brought back up at 1:20 p.m.  

Does the timer still fire?