Repository navigation
Remove stale enforce-limits override - #1545
Merged
Merged
Conversation
9 tasks done
oferchen
added a commit
that referenced
this pull request
May 17, 2026
Add a design note that inventories the current two-thread delta-drain/delta-reorder topology, proves the ordering contract is preserved by the per-result sequence key, sketches the single-thread alternative, and recommends deferring the refactor until the drain_parallel_alternatives bench from #4214 lands. Includes proposed metric additions (force_insert counter, drain batch size and pause histograms) that should land independently as a prerequisite to any later capacity-contract work.
oferchen
added a commit
that referenced
this pull request
May 17, 2026
…1545) (#4298) Wires the metric prerequisites called out in docs/design/drain-parallel-consumer-thread.md section 7 (and the sequencing in section 10) into the production drain pipeline. - HistogramStats: pow-2 count buckets and microsecond-decade duration buckets, shared between the new metrics fields. - ReorderBuffer::force_insert now bumps a cumulative counter, exposed on the Metrics snapshot. Tracks the capacity-bound fallback that the design doc flags as a removal prerequisite. - ReorderBuffer::record_drain_batch / record_drain_pause publish into two histograms on every non-empty consumer drain. - DeltaConsumer publishes a live Metrics snapshot through an Arc<Mutex> and exposes it via DeltaConsumer::metrics for in-flight polling. - Unit tests cover the force_insert counter (including the bypass and out-of-window paths), the powers-of-two batch buckets, and the microsecond decade pause buckets. End-to-end tests on DeltaConsumer verify the synthetic backpressure path drives force_insert_count above zero and that the batch histogram accumulates samples covering every delivered item.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
Add a design note that inventories the current two-thread delta-drain/delta-reorder topology, proves the ordering contract is preserved by the per-result sequence key, sketches the single-thread alternative, and recommends deferring the refactor until the drain_parallel_alternatives bench from #4214 lands. Includes proposed metric additions (force_insert counter, drain batch size and pause histograms) that should land independently as a prerequisite to any later capacity-contract work.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
…1545) (#4298) Wires the metric prerequisites called out in docs/design/drain-parallel-consumer-thread.md section 7 (and the sequencing in section 10) into the production drain pipeline. - HistogramStats: pow-2 count buckets and microsecond-decade duration buckets, shared between the new metrics fields. - ReorderBuffer::force_insert now bumps a cumulative counter, exposed on the Metrics snapshot. Tracks the capacity-bound fallback that the design doc flags as a removal prerequisite. - ReorderBuffer::record_drain_batch / record_drain_pause publish into two histograms on every non-empty consumer drain. - DeltaConsumer publishes a live Metrics snapshot through an Arc<Mutex> and exposes it via DeltaConsumer::metrics for in-flight polling. - Unit tests cover the force_insert counter (including the bypass and out-of-window paths), the powers-of-two batch buckets, and the microsecond decade pause buckets. End-to-end tests on DeltaConsumer verify the synthetic backpressure path drives force_insert_count above zero and that the batch histogram accumulates samples covering every delivered item.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
Add a design note that inventories the current two-thread delta-drain/delta-reorder topology, proves the ordering contract is preserved by the per-result sequence key, sketches the single-thread alternative, and recommends deferring the refactor until the drain_parallel_alternatives bench from #4214 lands. Includes proposed metric additions (force_insert counter, drain batch size and pause histograms) that should land independently as a prerequisite to any later capacity-contract work.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
…1545) (#4298) Wires the metric prerequisites called out in docs/design/drain-parallel-consumer-thread.md section 7 (and the sequencing in section 10) into the production drain pipeline. - HistogramStats: pow-2 count buckets and microsecond-decade duration buckets, shared between the new metrics fields. - ReorderBuffer::force_insert now bumps a cumulative counter, exposed on the Metrics snapshot. Tracks the capacity-bound fallback that the design doc flags as a removal prerequisite. - ReorderBuffer::record_drain_batch / record_drain_pause publish into two histograms on every non-empty consumer drain. - DeltaConsumer publishes a live Metrics snapshot through an Arc<Mutex> and exposes it via DeltaConsumer::metrics for in-flight polling. - Unit tests cover the force_insert counter (including the bypass and out-of-window paths), the powers-of-two batch buckets, and the microsecond decade pause buckets. End-to-end tests on DeltaConsumer verify the synthetic backpressure path drives force_insert_count above zero and that the batch histogram accumulates samples covering every delivered item.
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
Add a design note that inventories the current two-thread delta-drain/delta-reorder topology, proves the ordering contract is preserved by the per-result sequence key, sketches the single-thread alternative, and recommends deferring the refactor until the drain_parallel_alternatives bench from #4214 lands. Includes proposed metric additions (force_insert counter, drain batch size and pause histograms) that should land independently as a prerequisite to any later capacity-contract work.
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
…1545) (#4298) Wires the metric prerequisites called out in docs/design/drain-parallel-consumer-thread.md section 7 (and the sequencing in section 10) into the production drain pipeline. - HistogramStats: pow-2 count buckets and microsecond-decade duration buckets, shared between the new metrics fields. - ReorderBuffer::force_insert now bumps a cumulative counter, exposed on the Metrics snapshot. Tracks the capacity-bound fallback that the design doc flags as a removal prerequisite. - ReorderBuffer::record_drain_batch / record_drain_pause publish into two histograms on every non-empty consumer drain. - DeltaConsumer publishes a live Metrics snapshot through an Arc<Mutex> and exposes it via DeltaConsumer::metrics for in-flight polling. - Unit tests cover the force_insert counter (including the bypass and out-of-window paths), the powers-of-two batch buckets, and the microsecond decade pause buckets. End-to-end tests on DeltaConsumer verify the synthetic backpressure path drives force_insert_count above zero and that the batch histogram accumulates samples covering every delivered item.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Testing