Skip to content

out_mongo: fix NoMethodError during gracefulReload#205

Open
Watson1978 wants to merge 1 commit intofluent:masterfrom
Watson1978:out_mongo
Open

out_mongo: fix NoMethodError during gracefulReload#205
Watson1978 wants to merge 1 commit intofluent:masterfrom
Watson1978:out_mongo

Conversation

@Watson1978
Copy link
Copy Markdown
Contributor

When fluentd triggers gracefulReload via RPC, or if the plugin fails during startup (e.g., NoServerAvailable),
the shutdown method can be called while @client is still nil and causes a NoMethodError

This PR will fix the NoMethodError.

Fixes #179

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
@Watson1978 Watson1978 requested a review from kenhys April 22, 2026 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RPC gracefulReload fails for mongo_replset plugin

1 participant