Skip to content

fix(feed): commit live versions in feed_seq order; document share grants - #68

Merged
TheGreatAxios merged 3 commits into
cl-9428-memory-serialize-concurrent-adds-with-the-same-externalreffrom
cl-9429-memory-document-that-share-needs-host-minted-grants-and
Sep 27, 2026
Merged

TheGreatAxios merged 3 commits into
cl-9428-memory-serialize-concurrent-adds-with-the-same-externalreffrom
cl-9429-memory-document-that-share-needs-host-minted-grants-and

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Closes CL-9429

  • feed_seq is taken at insert but visible only at commit, so a capture that committed after a later one fell behind a feed cursor that had already passed it. A per-tenant transaction lock from the live version insert to commit keeps commit order equal to feed_seq order, and the feed docs state that guarantee.
  • README: share.principals writes peer search grants only when grantStore has putGrant (Interchange's stock store has none, so the host mints them); share.tenant never writes grants.

feed_seq is taken at insert but visible only at commit, so a capture that committed after a later one fell behind a feed cursor that had already passed it. A per-tenant transaction lock from the live version insert to commit keeps commit order equal to feed_seq order.
@TheGreatAxios
TheGreatAxios added this pull request to stack #69 September 27, 2026 18:34
@TheGreatAxios
TheGreatAxios merged commit e22d06a into main Sep 27, 2026
2 checks passed
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