Skip to content

test: add buffer pool memory pressure and concurrency tests - #2903

Merged
oferchen merged 2 commits into
masterfrom
test/buffer-pool-memory-pressure
Mar 22, 2026
Merged

oferchen merged 2 commits into
masterfrom
test/buffer-pool-memory-pressure

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Add 12 new tests for BufferPool covering memory pressure, concurrency, and edge cases
  • Verify pool size stays bounded under burst allocation (64 simultaneous buffers, only max_buffers retained)
  • Verify concurrent checkout/return from 16 threads with 500 iterations each (no deadlocks or data races)
  • Verify held buffers force fresh allocations without blocking
  • Verify adaptive buffers from concurrent threads are all resized to pool default on return
  • Test edge cases: zero-capacity pool, single-capacity pool, sequential reuse stability

Test plan

  • CI nextest passes all new tests in engine::local_copy::buffer_pool::tests
  • No clippy warnings
  • Tests pass on all platforms (Linux, macOS, Windows)

@github-actions github-actions Bot added the test label Mar 21, 2026
@oferchen
oferchen force-pushed the test/buffer-pool-memory-pressure branch from c6dd6be to 984158d Compare March 22, 2026 06:55
@oferchen
oferchen force-pushed the test/buffer-pool-memory-pressure branch from 9c96d3d to 889a455 Compare March 22, 2026 08:07
@oferchen
oferchen merged commit fd03adc into master Mar 22, 2026
9 checks passed
@oferchen
oferchen deleted the test/buffer-pool-memory-pressure branch March 22, 2026 09:00
oferchen added a commit that referenced this pull request May 1, 2026
* test: add buffer pool memory pressure and concurrency tests

* style: fix cargo fmt formatting
oferchen added a commit that referenced this pull request May 5, 2026
* test: add buffer pool memory pressure and concurrency tests

* style: fix cargo fmt formatting
oferchen added a commit that referenced this pull request May 25, 2026
…C-13) (#4920)

Adds a user-facing matrix at docs/user/windows-support-matrix.md that
states which features are fully supported, partially supported, or
unsupported on the Windows GNU build, and enumerates the known gaps
with explicit WPC-* tracking. Bridges the gap until WPC-3..WPC-12 land.

Refs #2869, #2903 (WPC-1), #2904 (WPC-2), #2915 (WPC-13).
oferchen added a commit that referenced this pull request Aug 24, 2026
…C-13) (#4920)

Adds a user-facing matrix at docs/user/windows-support-matrix.md that
states which features are fully supported, partially supported, or
unsupported on the Windows GNU build, and enumerates the known gaps
with explicit WPC-* tracking. Bridges the gap until WPC-3..WPC-12 land.

Refs #2869, #2903 (WPC-1), #2904 (WPC-2), #2915 (WPC-13).
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