Skip to content

storageingest: serialize assignment and bound transfers with correct CC quota - #1535

Open
hyunmoon wants to merge 3 commits into
filecoin-project:mainfrom
hyunmoon:codex/ten-pr-q2-20260913
Open

hyunmoon wants to merge 3 commits into
filecoin-project:mainfrom
hyunmoon:codex/ten-pr-q2-20260913

Conversation

@hyunmoon

@hyunmoon hyunmoon commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Prevent stale MK20 discovery and competing sector writers from producing inconsistent assignments or exceeding allocation limits.

  • Keep discovery advisory; claim, allocate and persist the exact aggregate mapping in one retryable transaction.
  • Use ordered provider locks across participating SDR/Snap allocation and transfer writers. Keep global stages poller-owned, callbacks deal-local, and wakeups after commit.
  • Bound CC batches by remaining quota, including remainders. Conditional debit rejects changed or insufficient schedules and rolls back allocation.

Requested schedules, proof selection and allocation identity are unchanged. This does not provide global proportional fairness.

Validation and limits

Normal/race, build, vet/lint and PostgreSQL allocation, transfer, rollback and contention tests. Earlier Yugabyte runtime tests do not establish execution of every SQL test here. Native sealing, concurrent CC/Snap workload coverage and engine-specific performance remain outside that evidence.

Series overview. Independently reviewable; no dependency on the foundation PR.

Henry added 3 commits September 12, 2026 06:06
Consolidated topic C09. Preserve the reviewed implementation and regressions; historical local execution receipts remain outside the source tree.

Source commits:
ed91e73
…ents

Consolidated topic C02. Preserve the reviewed implementation and regressions; historical local execution receipts remain outside the source tree.

Source commits:
62d77a5
c77332b
5151bca
728bda9
8474432
0edff77
Consolidated topic C05. Preserve the reviewed implementation and regressions; historical local execution receipts remain outside the source tree.

Source commits:
5dbae68
c2d7365
@FilOzzy FilOzzy added this to FOC Sep 14, 2026
@github-project-automation github-project-automation Bot moved this to 📌 Triage in FOC Sep 14, 2026
@hyunmoon
hyunmoon marked this pull request as ready for review September 14, 2026 10:37
@hyunmoon
hyunmoon requested review from a team and ZenGround0 as code owners September 14, 2026 10:37
@FilOzzy FilOzzy moved this from 📌 Triage to 🔎 Awaiting review in FOC Sep 14, 2026
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.

2 participants