Skip to content

[MOD-9372] - Add GIL release in OOM wait#6203

Merged
lerman25 merged 1 commit intomasterfrom
omerL-release-gil-oom
May 25, 2025
Merged

[MOD-9372] - Add GIL release in OOM wait#6203
lerman25 merged 1 commit intomasterfrom
omerL-release-gil-oom

Conversation

@lerman25
Copy link
Collaborator

Add missing GIL release in OOM wait

@codecov
Copy link

codecov bot commented May 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.24%. Comparing base (035a8b4) to head (c05ae39).
Report is 8 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6203      +/-   ##
==========================================
- Coverage   88.26%   88.24%   -0.02%     
==========================================
  Files         223      227       +4     
  Lines       39610    39955     +345     
  Branches     2318     2592     +274     
==========================================
+ Hits        34963    35260     +297     
- Misses       4632     4680      +48     
  Partials       15       15              
Flag Coverage Δ
flow 83.39% <100.00%> (-0.17%) ⬇️
unit 45.39% <0.00%> (+0.25%) ⬆️

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.

@lerman25 lerman25 added this pull request to the merge queue May 25, 2025
Merged via the queue into master with commit 0d335dd May 25, 2025
14 checks passed
@lerman25 lerman25 deleted the omerL-release-gil-oom branch May 25, 2025 13:03
JoanFM pushed a commit that referenced this pull request May 27, 2025
JoanFM pushed a commit that referenced this pull request May 27, 2025
lerman25 added a commit that referenced this pull request May 27, 2025
github-merge-queue bot pushed a commit that referenced this pull request Jun 8, 2025
* [MOD-9372 , MOD-9733] Stop indexing OOM - Add wait before OOM (#6114)

* Add config

* insert oom_scan field to scanner, remove check for oom in debug pause on oom

* fix comment

* create basis for function

* handle last scanned key

* change sleep function name

* Add pause before and after reset

* Add pause before and after statuses code

* Add pause before and after reset to bg scan

* wait if config >0

* adjust default sleep time

* fix last scanned key

* temp tests

* bsaic test strcuture

* styling

* Add scanner status strings

* Add first test

* Add update option for dbug scanner and more tests

* remove scanner cancleation

* Alter and Drop tests

* spellcheck

* skip cluster in tests

* Add config test for new config

* shortern tests

* styling

* remove pause on OOM from drop test

* Add tests, style

* style

* style

* Remove unused pause after OOM reset

* debug commands tests and cluster tests

* Naming, styling, formatting

* rename, change structure for simplicity

* improve test robustness

* remove unused and move to better location

* Ben comments round1

* Add 0 thresh test

* comment

* ADd skip cluster

* change config and other Alon's comments

* small tess

* remove pause after
Remove duplicates in tests

* more test compression

* fix assert

* [MOD-9560]  Revert marking index as faulty after reaching OOM (#6140)

* Add config

* insert oom_scan field to scanner, remove check for oom in debug pause on oom

* fix comment

* create basis for function

* handle last scanned key

* change sleep function name

* Add pause before and after reset

* Add pause before and after statuses code

* Add pause before and after reset to bg scan

* wait if config >0

* adjust default sleep time

* fix last scanned key

* temp tests

* bsaic test strcuture

* styling

* Add scanner status strings

* Add first test

* Add update option for dbug scanner and more tests

* remove scanner cancleation

* Alter and Drop tests

* spellcheck

* skip cluster in tests

* Add config test for new config

* shortern tests

* styling

* remove pause on OOM from drop test

* Add tests, style

* style

* style

* Remove unused pause after OOM reset

* debug commands tests and cluster tests

* Naming, styling, formatting

* rename, change structure for simplicity

* improve test robustness

* remove unused and move to better location

* remove OOM from ACL

* remove oom from aggregate_exec

* Change config help message

* remove from ft.search

* remove query error test

* Add warning to query_error

* Add warning to resp3

* Add resp3 test

* format

* revert pytest

* resp3 tests

* Ben comments round1

* Add 0 thresh test

* comment

* ADd skip cluster

* change config and other Alon's comments

* small tess

* remove pause after
Remove duplicates in tests

* more test compression

* fix assert

* FT.PROFILE and OOM string

* Add resp2 warning

* Revert "Add resp2 warning"

This reverts commit 6b73b3c.

* Add resp2 warning

* format

* [MOD-9372] - Add GIL release in OOM wait (#6203)

release gil

* fix merge
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.

2 participants