The holder host check (INV-AUTH-HOLDER-IDENTITY-001) reads the gRPC network peer and
requires a registered server id; tests that call the service in-process now arrive as
from 127.0.0.1, and tests that renew as node-a register it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
INV-AUTH-HOLDER-IDENTITY-001 (claude06 review of #416; claude01 decisions):
- holderMatches (lease renew and revocation ACK) refuses an unregistered server id and a
call whose gRPC network peer is not on the host registered for its server id.
- SubscribeAssignments refuses the same for a workspace volume, so the line is never
delivered to a second host with a copied --server-id; SubscribeRequest carries the
subscriber's server_id (field 4), sent by the volume.
- Refusals are logged. The heartbeat check stays (observations).
- Limits: trusts the network peer address (no NAT or proxy between volume and master in
OSS); not authentication.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
INV-ASSIGNMENT-HOLDER-IDENTITY-001.
- ReportHeartbeat refuses (FailedPrecondition) a heartbeat whose slot addresses are
on a host other than the one registered for its server id. Only the host part is
compared; several server ids on one host stay allowed; an unregistered id has
nothing to contradict.
- QueryVolumeStatus lists the primary's frontends from the server on the authority
line (workspaceSourceHost), never a fresher same-replica claim from another server.
- ClusterStatus primary node is the line's server (issued holder), not placement, and
the primary replica's evidence and publish target come only from that server.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
INV-ASSIGNMENT-HOLDER-IDENTITY-001: the same --server-id reported from a host other
than its registered one must be refused, and the CSI portal and displayed primary must
come from the server on the authority line, not the freshest heartbeat.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>