Skip to content

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

Merged
BenGoldberger merged 1 commit into2.8from
backport-6279-to-2.8
Jun 19, 2025
Merged

2.8 - lock before opening indexes if info - [MOD-10007] [MOD-9761] (#6279)#6340
BenGoldberger merged 1 commit into2.8from
backport-6279-to-2.8

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 72.72727% with 6 lines in your changes missing coverage. Please review.

Project coverage is 87.04%. Comparing base (3200304) to head (9257148).
Report is 1 commits behind head on 2.8.

Files with missing lines Patch % Lines
src/fork_gc.c 70.00% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              2.8    #6340      +/-   ##
==========================================
- Coverage   87.05%   87.04%   -0.01%     
==========================================
  Files         203      203              
  Lines       35827    35834       +7     
==========================================
+ Hits        31189    31193       +4     
- Misses       4638     4641       +3     
Flag Coverage Δ
flow 81.24% <59.09%> (-0.22%) ⬇️
unit 42.63% <63.63%> (+<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 09:31
@BenGoldberger BenGoldberger added this pull request to the merge queue Jun 19, 2025
Merged via the queue into 2.8 with commit 14c5940 Jun 19, 2025
8 of 9 checks passed
@BenGoldberger BenGoldberger deleted the backport-6279-to-2.8 branch June 19, 2025 11:54
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