dataroaring opened a new pull request, #62062: URL: https://github.com/apache/doris/pull/62062
## Summary - When `flushEditLog()` catches a Throwable and calls `System.exit(-1)`, producer threads blocked on `req.lock.wait()` inside `logEditWithQueue()` are never notified - If `System.exit` is delayed by shutdown hooks or finalizers, these producer threads hang indefinitely, potentially holding DDL locks and blocking all metadata operations - Fix: notify all pending `EditLogItem` requests with `finished=true` and `logId=-1` before calling `System.exit` ## Test plan - [ ] Verify DDL threads don't hang when edit log write fails fatally - [ ] Verify clean shutdown behavior on write failure 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
