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
The current sincedb implementation of this plugin only relies on the object key and doesn't use the file offset at all, so when we stop logstash in a middle of reading a file we don't have the choice to read the file back at the beginning causing duplicates in the log stream.
We should investigate if we could use the filewatch plugins to actually do the file reading and the S3 input could act as a downloading agent.
The text was updated successfully, but these errors were encountered:
This plugin is now interruptable, this plugin require a bit more care to
shutdown it down for a few reasons:
1. It can be stuck streaming file to disk from a S3 bucket.
2. It can be stuck reading a large file
For case 1, we cancel the streaming and delete the incomplete temp file
and not update the sincedb.
For case 2, we will cancel reading the file and not update the sincedb,
this will result in duplicates in the logging stream which is fine for now since the S3 plugin
doesn't support saving offset yet. see #54
This PR also add a fix to non deterministic test run in a local
environment by specifying a new sincedb for each run.
Fixes: #53#42Fixes#55
The current sincedb implementation of this plugin only relies on the object key and doesn't use the file offset at all, so when we stop logstash in a middle of reading a file we don't have the choice to read the file back at the beginning causing duplicates in the log stream.
We should investigate if we could use the filewatch plugins to actually do the file reading and the S3 input could act as a downloading agent.
The text was updated successfully, but these errors were encountered: