Skip to content

Commit d0e32b7

Browse files
author
SqlRush
committed
feat(cluster): add R4 route dedup and typed refusal
1 parent 4c26371 commit d0e32b7

23 files changed

Lines changed: 3847 additions & 88 deletions

src/backend/cluster/cluster_cr_server.c

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,23 @@ cluster_lms_cr_submit(const GcsBlockForwardPayload *fwd)
347347
return false; /* all slots busy — fail closed, requester retries/refuses */
348348
}
349349

350+
/*
351+
* cluster_lms_cr_submit_r4 — typed R4 FORWARD96 holder-submit boundary.
352+
*
353+
* D3 deliberately does not reinterpret the 96-byte route proof as the
354+
* legacy 64-byte payload: that would discard the proof. D4 owns the future
355+
* stable-copy and slot-proof positive integration, so this pre-D4 boundary
356+
* remains fail closed without allocating a slot or mutating shared state.
357+
*/
358+
bool
359+
cluster_lms_cr_submit_r4(const ClusterR4CrForwardPayload *forward)
360+
{
361+
if (forward == NULL)
362+
return false;
363+
364+
return false;
365+
}
366+
350367
/*
351368
* cluster_lms_undo_fetch_submit — CONTROL-plane park (spec-6.12i D-i1).
352369
*

0 commit comments

Comments
 (0)