Fix FieldSpec Cleanup on failed RDB load - [MOD-10307]#6410
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6410 +/- ##
==========================================
+ Coverage 89.26% 89.29% +0.03%
==========================================
Files 251 251
Lines 41330 41308 -22
Branches 3623 3623
==========================================
- Hits 36895 36888 -7
+ Misses 4391 4376 -15
Partials 44 44
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin 2.8
git worktree add -d .worktree/backport-6410-to-2.8 origin/2.8
cd .worktree/backport-6410-to-2.8
git switch --create backport-6410-to-2.8
git cherry-pick -x fef0d10c514a0a9272c0725c0ff421774fa3a1a4 |
|
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin 2.6
git worktree add -d .worktree/backport-6410-to-2.6 origin/2.6
cd .worktree/backport-6410-to-2.6
git switch --create backport-6410-to-2.6
git cherry-pick -x fef0d10c514a0a9272c0725c0ff421774fa3a1a4 |
|
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin 2.10
git worktree add -d .worktree/backport-6410-to-2.10 origin/2.10
cd .worktree/backport-6410-to-2.10
git switch --create backport-6410-to-2.10
git cherry-pick -x fef0d10c514a0a9272c0725c0ff421774fa3a1a4 |
* fix field loading * enable test * improve comment * fix additional leak (cherry picked from commit fef0d10)
|
Successfully created backport PR for |
* fix field loading * enable test * improve comment * fix additional leak (cherry picked from commit fef0d10)
|
Successfully created backport PR for |
* fix field loading * enable test * improve comment * fix additional leak (cherry picked from commit fef0d10)
* fix field loading * enable test * improve comment * fix additional leak (cherry picked from commit fef0d10)
* fix field loading * enable test * improve comment * fix additional leak (cherry picked from commit fef0d10)
* Fix FieldSpec Cleanup on failed RDB load - [MOD-10307] (#6410) * fix field loading * enable test * improve comment * fix additional leak (cherry picked from commit fef0d10) * enable short read tests on sanitizer (cherry picked from commit 83bec43) * minor tool improvements (cherry picked from commit 0294d6f)
* fix field loading * enable test * improve comment * fix additional leak
Describe the changes in the pull request
Fix an issue when loading a schema from RDB, and we decide to abort for some reason.
We need to make sure the number of
IndexError_Initcalls matches the number ofIndexError_Clearcalls we later do, otherwise we may free the global "N/A" string.Mark if applicable