MetPX / sarracenia

https://MetPX.github.io/sarracenia
GNU General Public License v2.0
44 stars 22 forks source link

flakey_flow fails with 12 or 24 messages unacknowledged. #1132

Open petersilva opened 1 month ago

petersilva commented 1 month ago

the flakey_tests on github often fail with 12 or 24 messages unacked, but are otherwise correct. It seems to be a problem with:

so after reading a batch of messages, we then pause until the next scheduled polling interval... then we continue processing and eventually ack them.

It would seem better to acknolwedge them before we pause.

petersilva commented 1 month ago

Screenshot 2024-07-18 172550

petersilva commented 1 month ago

tagging it harmless because there does not seem to be any data loss or actual real-life problem that would result from this. This is an admittedly sub-optimal behaviour, but it results from an obscure condition and torture test that should not cause anything other than display issues in operations.