nickva opened a new pull request, #5678: URL: https://github.com/apache/couchdb/pull/5678
Previously, if a plugin returned `skip` on `start/2` or `resume/2`, then the plugin would stop and it wouldn't be scheduler to run again, even if it has a "repeat" time interval set. The new behavior on `skip` is to schedule the plugin to run again if plugin is configured to repeat it's execution. This way, a plugin may react to a temporary condition (feature disabled, some missing or crashed dependency) with a `skip`, and then it will get a chance to retry later hoping the conditions will change and it will continue executing. In a separate commit improve plugin shutdowns when a plugin is directed stop by the `couch_scanner_server` while it's running. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
