Skip to content

feat(engine): SpillPolicy.reclaim - KeepInMemory vs RespillAfterRead (STN-4 #2338) - #4400

Merged
oferchen merged 1 commit into
masterfrom
feature/stn-4-reclaim-policy
May 18, 2026
Merged

oferchen merged 1 commit into
masterfrom
feature/stn-4-reclaim-policy

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Add SpillReclaim enum and SpillPolicy.reclaim field. Default KeepInMemory preserves current behavior.
  • RespillAfterRead drops the in-memory copy of a re-read batch so RSS doesn't spike when many large batches stream through.
  • Two unit tests cover both branches.

Test plan

  • cargo fmt --all clean
  • Default-policy behavior identical to today (regression check)

Closes #2338.

@github-actions github-actions Bot added the enhancement New feature or request label May 18, 2026
@oferchen
oferchen force-pushed the feature/stn-4-reclaim-policy branch 3 times, most recently from 322d24d to e4aba59 Compare May 18, 2026 01:24
@oferchen
oferchen force-pushed the feature/stn-4-reclaim-policy branch from e4aba59 to ad2a415 Compare May 18, 2026 02:20
@oferchen
oferchen merged commit 49ec584 into master May 18, 2026
3 of 8 checks passed
@oferchen
oferchen deleted the feature/stn-4-reclaim-policy branch May 18, 2026 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant