-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor shutdown sequence to use plugin.stop #53
Labels
Comments
43 tasks
depends on jordansissel/ruby-stud#27 |
ph
added a commit
to ph/logstash-input-s3
that referenced
this issue
Sep 16, 2015
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 logstash-plugins#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: logstash-plugins#53 logstash-plugins#42
ph
added a commit
to ph/logstash-input-s3
that referenced
this issue
Sep 16, 2015
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 logstash-plugins#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: logstash-plugins#53 logstash-plugins#42
ph
added a commit
to ph/logstash-input-s3
that referenced
this issue
Sep 21, 2015
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 logstash-plugins#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: logstash-plugins#53 logstash-plugins#42
ph
added a commit
to ph/logstash-input-s3
that referenced
this issue
Sep 22, 2015
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 logstash-plugins#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: logstash-plugins#53 logstash-plugins#42
ph
added a commit
that referenced
this issue
Sep 22, 2015
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 #42 Fixes #55
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Change shutdown sequence to be triggered by plugin.stop instead of ShutdownSignal exception.
Also remove any calls to: shutdown, finished, finished?, running? or terminating?
This depends on elastic/logstash#3895
The text was updated successfully, but these errors were encountered: