out_azure_kusto: fix SIGSEGV crashes, resource handle leaks, and HTTP buffer sizing#11607
out_azure_kusto: fix SIGSEGV crashes, resource handle leaks, and HTTP buffer sizing#11607tanmaya-panda1 wants to merge 1 commit intofluent:masterfrom
Conversation
- Defer close old resource handles in next cycle - Add comments & logs for cleanup - Close OAuth handles in case of failure - Add comments - Fix SIGSEGV crashes from concurrent resource rotation and shutdown - Increased http buffer size configuration Signed-off-by: Tanmaya Panda <tanmayapanda@microsoft.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
📝 WalkthroughWalkthroughThis pull request enhances the Azure Kusto output plugin with improved error handling, defensive coding patterns, and resource lifecycle management. Changes include strengthened token error logging, mutex-protected resource reloading with deferred cleanup to prevent use-after-free conditions, initialization failure cleanup, and HTTP buffer configuration. Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
==========================================
|
this PR fixes several stability and reliability fixes for the out_azure_kusto plugin:
Enter
[N/A]in the box, if an item is not applicable to your change.Testing
Before we can approve your change; please submit the following in a comment:
If this is a change to packaging of containers or native binaries then please confirm it works for all targets.
ok-package-testlabel to test for all targets (requires maintainer to do).Documentation
Backporting
Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.
Summary by CodeRabbit