Closed breml closed 3 years ago
Thank you very much! Your analysis was quite correct. I was never able to reproduce it myself but I believe it's fixed with commit 98125d8.
@magnusbaeck Thanks for the fix. I will have a look at this until the end of the week and provide some feedback.
@magnusbaeck I tested the new version of logstash-filter-verifier (current master) and I can confirm, that the issue is resolved. Thank you.
Do you mind to release a new version?
Sure, I can probably do that this weekend.
There, 1.6.2 is available.
I observed, that roughly in every 10th execution, the summary at the end of a logstash-filter-verifier run is not printed. I assume, there is a concurrency issue with the observer.
In https://github.com/magnusbaeck/logstash-filter-verifier/blob/master/logstash-filter-verifier.go#L359 the observer is signaled to print the summary, but there is no waiting for this functionallity to finish so I assume, in some cases, logstash-filter-verifier quits before the summary could be printed to stdout.