Skip to content

[2.10] MOD-12212: Fix index load from RDB temporary memory overhead#7360

Merged
Itzikvaknin merged 2 commits into2.10from
ivaknin-rdb_load_refactor_2_10
Nov 16, 2025
Merged

[2.10] MOD-12212: Fix index load from RDB temporary memory overhead#7360
Itzikvaknin merged 2 commits into2.10from
ivaknin-rdb_load_refactor_2_10

Conversation

@Itzikvaknin
Copy link
Collaborator

@Itzikvaknin Itzikvaknin commented Nov 13, 2025

Test: https://github.com/redislabsdev/Redis-Enterprise/actions/runs/19330696319/job/55292760560


Note

Defers GC startup until after duplicate detection during RDB index load and tightens synonym map load error flow.

  • Index RDB Load (src/spec.c):
    • Defer IndexSpec_StartGC to after duplicate-spec check; start GC only for non-duplicates.
    • Initialize cursors with Cursors_initSpec(sp) before optional synonym map loading.
    • Ensure SynonymMap_RdbLoad failure unconditionally jumps to cleanup.
    • Add spec to specDict_g and update field stats only after starting GC for valid (non-duplicate) specs.

Written by Cursor Bugbot for commit 6f76f36. This will update automatically on new commits. Configure here.

@Itzikvaknin Itzikvaknin changed the title MOD-12212: Fix index load from RDB temporary memory overhead [2.10] MOD-12212: Fix index load from RDB temporary memory overhead Nov 13, 2025
@codecov
Copy link

codecov bot commented Nov 13, 2025

Codecov Report

❌ Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 89.24%. Comparing base (81036bb) to head (6f76f36).
⚠️ Report is 2 commits behind head on 2.10.

Files with missing lines Patch % Lines
src/spec.c 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             2.10    #7360      +/-   ##
==========================================
- Coverage   89.27%   89.24%   -0.04%     
==========================================
  Files         207      207              
  Lines       35307    35307              
==========================================
- Hits        31521    31508      -13     
- Misses       3786     3799      +13     
Flag Coverage Δ
flow 83.81% <50.00%> (-0.17%) ⬇️
unit 42.47% <0.00%> (ø)

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.

@Itzikvaknin Itzikvaknin added this pull request to the merge queue Nov 16, 2025
Merged via the queue into 2.10 with commit 0c2fed5 Nov 16, 2025
12 of 13 checks passed
@Itzikvaknin Itzikvaknin deleted the ivaknin-rdb_load_refactor_2_10 branch November 16, 2025 16:17
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