Skip to content

feat: create tenant keys before tenant writes and check the naming key at start - #139

Merged
hamzakargin merged 1 commit into
mainfrom
feat/naming-check
Nov 3, 2026
Merged

hamzakargin merged 1 commit into
mainfrom
feat/naming-check

Conversation

@hamzakargin

Copy link
Copy Markdown
Member
  • KeySource::create: the control core creates keys (durable) before it writes a new tenant or a new generation; the ring sends Create then Retention and caches the answered keys.
  • A new tenant id must start at generation 1; a generation the keys process refuses (Conflict) refuses the write; a key failure leaves nothing written.
  • Naming check value (SipHash of the naming key) in a control record: written at first start, compared before anything loads; a mismatch refuses start.
  • Leases and control writer setup moved out of Node::start.

Part of #129

@hamzakargin
hamzakargin enabled auto-merge (squash) November 3, 2026 09:12
@hamzakargin
hamzakargin merged commit 52d39a7 into main Nov 3, 2026
7 checks passed
@hamzakargin
hamzakargin deleted the feat/naming-check branch November 3, 2026 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant