You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems to occur only. when sincedb_clean_after is very low, likely triggering a race condition. Setting this to "1 second" or higher doesn't seem to reproduce, only in the millisecond range.
jsvd
changed the title
Read mode cleanup causes crash since 4.1.18
Read mode cleanup causes crash when sincedb_cleanup_after is low (under a second)
May 13, 2020
andsel
added a commit
to andsel/logstash-input-file
that referenced
this issue
May 13, 2020
…llection
If the value of the setting `sincedb_clean_after` is too short (1 ms) it happens that during the content reading loop (in read mode) the loops itself trigger the cleanup of the same value from the SincedbCollection and then it
also try to access it again creating an error.
This commit resolves the problem guarding against the presence in the sincebd_collection before accessing it.
Fixes: logstash-plugins#272
Since file input 4.1.18 there seems to be an error in read mode related to cleanup:
The text was updated successfully, but these errors were encountered: