Skip to content

8.0 - lock before opening indexes if info - [MOD-10007] [MOD-9761] (#6279)#6338

Merged
BenGoldberger merged 1 commit into8.0from
backport-6279-to-8.0
Jun 19, 2025
Merged

8.0 - lock before opening indexes if info - [MOD-10007] [MOD-9761] (#6279)#6338
BenGoldberger merged 1 commit into8.0from
backport-6279-to-8.0

Conversation

@BenGoldberger
Copy link
Collaborator

Move the locking of the spec in IndexInfoCommand->fillReplyWithIndexInfo
Hopefully this will fix the bug and some flaky tests

Plus handle the while loop in FGC_recvFixed, that seems to block the gc thread

* move the lock to include the opening of the indexes

* add pytest

* try to fix test

* fix test

* move lock sooner

* spell checker

* try to fix test

* pr changes

* pr changes

* remove debugPrint in test

* remove debug prints

* add gc invokes while deleting docs

* add timeout before read

* add the timeout to gc struct

* change timeout to 3 min

* try to change the while

* switch to poll

* refactor gc struct

* add gc_wait in test

* pr changes

* pr changes

* pr changes

* pr change

* try to fix leak in test

* revert priority change

* remove deps changes

* pr changes

* revert len check

(cherry picked from commit 52cbc9c)
@codecov
Copy link

codecov bot commented Jun 18, 2025

Codecov Report

Attention: Patch coverage is 71.42857% with 6 lines in your changes missing coverage. Please review.

Project coverage is 88.83%. Comparing base (80345aa) to head (ea09ce9).
Report is 1 commits behind head on 8.0.

Files with missing lines Patch % Lines
src/fork_gc.c 70.00% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              8.0    #6338      +/-   ##
==========================================
- Coverage   88.84%   88.83%   -0.01%     
==========================================
  Files         201      201              
  Lines       37413    37420       +7     
==========================================
+ Hits        33239    33243       +4     
- Misses       4174     4177       +3     
Flag Coverage Δ
flow 83.31% <57.14%> (-0.12%) ⬇️
unit 42.31% <66.66%> (+<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.

@BenGoldberger BenGoldberger requested a review from alonre24 June 18, 2025 07:55
@BenGoldberger BenGoldberger added this pull request to the merge queue Jun 19, 2025
Merged via the queue into 8.0 with commit 91ca361 Jun 19, 2025
8 of 9 checks passed
@BenGoldberger BenGoldberger deleted the backport-6279-to-8.0 branch June 19, 2025 09:04
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