Skip to content

market: honor queue limits and bound MK20 waiting release - #1536

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

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

Conversation

@hyunmoon

@hyunmoon hyunmoon commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Make queue-limit behavior consistent and bound MK20 waiting release.

  • MaxQueueSDR=0 disables only the SDR threshold. Default 8, positive buffered > limit, other queue policies, SQL accounting and caches are unchanged.
  • Add zero-default per-pass release and global incomplete-row limits. A singleton gate enforces exact whole-deal capacity and atomic waiting-to-pipeline insertion.
  • Reset retry-local results, wake only after commit, and traverse at most 64 candidates with cursor wrapping and an empty-queue fast path.

Only market completion—not SDR completion—returns slots. Participating instances need consistent settings; these limits are not universal sealing or disk-WIP caps.

Validation and limits

Normal/race, build, vet/lint and PostgreSQL gate, migration, aggregate, rollback, retry and bounded-cost tests. Cost samples are isolated fixtures, not production benchmarks; attributable retries were not measured. Earlier Yugabyte runtime tests do not cover the new aggregate/cost fixtures. A full sealing-through-Indexing slot-return fixture has not been executed.

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

Henry added 2 commits September 12, 2026 06:18
Consolidate the reviewed topic, preserving its runtime and regression assertions.
Consolidated topic C03. Preserve the reviewed implementation and regressions; historical local execution receipts remain outside the source tree.

Source commits:
d1696b5
3146b89
bcb1d6e
7fd9ae3
@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