Skip to content

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

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

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

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

Project coverage is 87.00%. Comparing base (5509be3) to head (656f440).
Report is 3 commits behind head on 2.10.

Files with missing lines Patch % Lines
src/fork_gc.c 55.00% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             2.10    #6339      +/-   ##
==========================================
- Coverage   87.03%   87.00%   -0.04%     
==========================================
  Files         204      204              
  Lines       35045    35052       +7     
==========================================
- Hits        30502    30497       -5     
- Misses       4543     4555      +12     
Flag Coverage Δ
flow 81.95% <57.14%> (-0.16%) ⬇️
unit 40.70% <52.38%> (+<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.10 with commit f7e5a6d Jun 19, 2025
11 of 14 checks passed
@BenGoldberger BenGoldberger deleted the backport-6279-to-2.10 branch June 19, 2025 11:58
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