From 951c0f020c46147bdd8d8989f331d9d84d1891d4 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Sun, 22 Nov 2026 03:45:11 -0800 Subject: [PATCH] diagnostics: show assignment endpoint and lineage refusal inputs --- seaweed-block/core/host/volume/assignment_holder.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/seaweed-block/core/host/volume/assignment_holder.go b/seaweed-block/core/host/volume/assignment_holder.go index ddac223cec..fef06d7af6 100644 --- a/seaweed-block/core/host/volume/assignment_holder.go +++ b/seaweed-block/core/host/volume/assignment_holder.go @@ -15,6 +15,10 @@ func (h *Host) assignmentNamesSelf(f *control.AssignmentFact) bool { // Delivery before a move is not supersession: record every refused fact, // and use the one supersession decision against the adopted engine lineage. func (h *Host) observeForeignHolder(f *control.AssignmentFact) { + h.log.Printf("blockvolume: assignment identity refusal volume=%q replica=%q server=%q epoch=%d ev=%d data=%q ctrl=%q "+ + "expected_volume=%q expected_replica=%q expected_server=%q expected_data=%q expected_ctrl=%q", + f.VolumeId, f.ReplicaId, f.ServerId, f.Epoch, f.EndpointVersion, f.DataAddr, f.CtrlAddr, + h.cfg.VolumeID, h.cfg.ReplicaID, h.cfg.ServerID, h.cfg.DataAddr, h.cfg.CtrlAddr) h.recordOtherLine(f) if h.view == nil { return