Files
seaweedfs/weed/util/log_buffer
Chris LuandClaude Opus 5.5 52afabbf1b mq: avoid a deadlock when retiring a partition with a full flush queue (#13225)
* mq: let partition retirement drain a full flush queue outside broker locks

* log_buffer: queue the final flush from ShutdownLogBuffer itself

Every ShutdownLogBuffer caller already waits afterwards with WaitForShutdown
or IsAllFlushed, so queueing the final flush in the background changes no
caller's outcome and lets every caller holding a lock a flush callback needs
avoid the full-queue deadlock, without a second shutdown entry point.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 15:32:00 -08:00
..
2025-10-13 18:05:17 -07:00