Skip to content

Remove stale enforce-limits override - #1545

Merged
oferchen merged 1 commit into
masterfrom
prepare-for-production-release-optimization
Oct 29, 2025
Merged

oferchen merged 1 commit into
masterfrom
prepare-for-production-release-optimization

Conversation

@oferchen

@oferchen oferchen commented Oct 29, 2025 •

Copy link
Copy Markdown
Owner

Summary

  • drop the obsolete line-count override for crates/protocol/src/compatibility.rs so the hygiene check matches the current module layout

Testing

  • bash tools/enforce_limits.sh

@oferchen
oferchen merged commit f121041 into master Oct 29, 2025
@oferchen
oferchen deleted the prepare-for-production-release-optimization branch October 29, 2025 16:44
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant