Files
seaweedfs/weed/server
Chris LuandClaude Opus 5.5 87c071b319 filer: persist the metadata log as soon as shutdown starts
The shutdown leaves the lock ring and drains gRPC and HTTP before
Filer.Shutdown runs the final metadata log flush. Those steps can take
longer than a container's termination grace period, and a kill before the
final flush drops every local event since the last periodic flush. On a
shared store peers keep those events only in memory, so they vanish from
every filer's aggregated stream.

Start a flush of the local metadata log first, in the background, so the
events accepted before the signal are persisted within seconds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 03:16:41 -08:00
..
2026-02-20 18:42:00 -08:00