-
Notifications
You must be signed in to change notification settings - Fork 25
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
Elastic searchのbulk indexerのメモリリーク修正 #2190
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
テストはあまり書かれていない箇所ですが、動作確認(新規作成、更新、削除それぞれのパスを実行させてみる)は取れていますか?
そうならば、リークの動作は本番以外ではなかなか再現難しいと思うので、早めにリリースして様子を見るのが良いと思います
まちがってcloseしちゃった。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ありがとう!だいぶ理想的な解決方法になっていると思います。ありがたい。
いくつか指摘したので、確認の方お願いします
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ありがとう!完璧です!
これで治れば良いな…
マージしていいですか? |
いいよ |
fix: #2172
関数に切り出して、deferでindexerをCloseするようにした。