Files
seaweedfs/weed/admin/view/app
Chris LuandClaude Opus 5.5 ec34160a1a master, admin: report the real last heartbeat time of volume servers (#13074)
* master: report each volume server's last heartbeat time

DataNode.LastSeen only moves when a volume server registers, so nothing
recorded when the master last heard from it. Stamp every processed
heartbeat and carry it in DataNodeInfo.last_heartbeat_ns.

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

* admin: show the master's last heartbeat time for volume servers

The volume server details reported the admin's own clock as the last
heartbeat. Use the time the master reports, and show unknown when the
master does not report one.

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

* admin: carry the last heartbeat time into the volume servers page

GetClusterVolumeServers builds its records from the master's volume list
without the topology conversion, so the details dialog showed unknown.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 18:02:55 -08:00
..