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
I just noticed that when using the read mode, the sincedb file is not updated.
Apparently, it is updated only when the file has completely been read.
This is problematic when dealing with large files since logstash may crash or be restarted before the file is completely written which will lead to rereading the same file from beginning.
The text was updated successfully, but these errors were encountered:
In certain cases, in read mode sincedb is not updated.
There was no periodic check for sincedb updates that would cause the sincedb_clean_after entries to cleanup.
The cleanup relied on new files being discovered or new content being added to existing files -> causing sincedb updates.
The fix here is to periodically flush sincedb (from the watch loop).
Besides, to make the process more deterministic, there's a minor change to make sure the same "updated" timestamp is used to mark the last changed time.
resolves#250
expected to also resolve#260
I just noticed that when using the read mode, the sincedb file is not updated.
Apparently, it is updated only when the file has completely been read.
This is problematic when dealing with large files since logstash may crash or be restarted before the file is completely written which will lead to rereading the same file from beginning.
The text was updated successfully, but these errors were encountered: