Skip to content

fix: MaruBackend test failures, config cleanup, close() drain#16

Merged
jooho-XCENA merged 2 commits into
feat/maru-backendfrom
fix/maru-test-pin
Mar 20, 2026
Merged

fix: MaruBackend test failures, config cleanup, close() drain#16
jooho-XCENA merged 2 commits into
feat/maru-backendfrom
fix/maru-test-pin

Conversation

@jooho-XCENA

Copy link
Copy Markdown

Summary

  • Fix 2 failing tests: pin_kvpin rename missed in test_maru_backend.py
  • Simplify maru_pool_size config from str (e.g. "4G") to float in GB (e.g. 4.0), aligning with max_local_cpu_size pattern
  • Drain in-flight put tasks before closing MaruBackend, consistent with PDBackend/GDSBackend

Test plan

  • pytest tests/v1/storage_backend/test_maru_backend.py — 49 passed, 0 failed (DAX not required)

@jooho-XCENA jooho-XCENA requested a review from a team March 20, 2026 08:09
Align with existing config pattern (max_local_cpu_size uses float GB).
Remove _parse_pool_size string parser in favor of simple GB-to-bytes
conversion. This eliminates silent fallback on invalid values.
Wait for all pending async store tasks to complete before closing
the handler, consistent with PDBackend and GDSBackend patterns.
Prevents crash/data loss when _async_store is still running.
@jooho-XCENA jooho-XCENA merged commit a73e8ba into feat/maru-backend Mar 20, 2026
1 check passed
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.

1 participant