Skip to content

[2.8] MOD-10975: Fix fd leak when OOM (#6672)#6703

Merged
nafraf merged 2 commits into2.8from
nafraf_backport-6672-to-2.8
Sep 4, 2025
Merged

[2.8] MOD-10975: Fix fd leak when OOM (#6672)#6703
nafraf merged 2 commits into2.8from
nafraf_backport-6672-to-2.8

Conversation

@nafraf
Copy link
Copy Markdown
Collaborator

@nafraf nafraf commented Aug 24, 2025

Description

Manual backport of #6672 to 2.8.
(cherry picked from commit 56f6f0e)

Changes:

  • Fix conflict in test_gc_oom() to create index before adding the docs.
  • Fix conflict in test_gc_oom() to call set_tight_maxmemory_for_oom(env) instead of env.expect('config', 'set', 'maxmemory', 1).ok()
  • In test_gc_oom()useset_unlimited_maxmemory_for_oominstead ofenv.expect('config', 'set', 'maxmemory', 0).ok()`

@nafraf nafraf changed the title MOD-10975: Fix fd leak when OOM (#6672) [2.8] MOD-10975: Fix fd leak when OOM (#6672) Aug 24, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented Aug 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.50%. Comparing base (5438edf) to head (309a565).
⚠️ Report is 1 commits behind head on 2.8.

Additional details and impacted files
@@            Coverage Diff             @@
##              2.8    #6703      +/-   ##
==========================================
- Coverage   87.50%   87.50%   -0.01%     
==========================================
  Files         203      203              
  Lines       35609    35611       +2     
==========================================
  Hits        31160    31160              
- Misses       4449     4451       +2     
Flag Coverage Δ
flow 81.82% <100.00%> (-0.22%) ⬇️
unit 42.77% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@nafraf nafraf requested review from oshadmi and raz-mon September 2, 2025 08:14
@nafraf nafraf added this pull request to the merge queue Sep 3, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 3, 2025
@nafraf nafraf added this pull request to the merge queue Sep 3, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 3, 2025
@nafraf nafraf added this pull request to the merge queue Sep 3, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 3, 2025
@nafraf nafraf added this pull request to the merge queue Sep 4, 2025
Merged via the queue into 2.8 with commit 96fc89e Sep 4, 2025
11 checks passed
@nafraf nafraf deleted the nafraf_backport-6672-to-2.8 branch September 4, 2025 04:27
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.

2 participants