octue / octue-sdk-python

The python SDK for @Octue services and digital twins.
https://octue.com
Other
9 stars 3 forks source link

Negative number of missing events logged #661

Closed cortadocodes closed 1 week ago

cortadocodes commented 1 month ago

Bug report

What is the current behavior?

A negative number of missing events are being logged sometimes. I get the following warning logged:

[WARNING | octue.cloud.events.handler] [analysis-1588e25e-b51c-4af4-bc62-fbc175d31139] <Service('gulfwindtech/dlc-service:add-real-dlc-ser')>: -108 consecutive events missing for question '84cc924e-13e5-4769-9eb9-9c1bed405c53' after 10s - skipping to next earliest waiting event (event 3).

See here for the logs this came from.

What is the expected behavior?

This warning should only be triggered when there are missing events. If there are missing events, this should always be a positive number.

Your environment

Proposed Solution

Investigate whether:

cortadocodes commented 1 week ago

This is no longer relevant as I've removed event ordering from the event handler in the upcoming release