Skip to content

Move prepared_iter size assertion after cleanup#14144

Closed
jaykorean wants to merge 1 commit intofacebook:mainfrom
jaykorean:fix_prepared_iter_assetion
Closed

Move prepared_iter size assertion after cleanup#14144
jaykorean wants to merge 1 commit intofacebook:mainfrom
jaykorean:fix_prepared_iter_assetion

Conversation

@jaykorean
Copy link
Contributor

Summary

Fixing crash test failure caused by prepared_iters_.size() == 0

Test Plan

python3 -u tools/db_crashtest.py --stress_cmd=./db_stress --cleanup_cmd='' --simple blackbox

@meta-cla meta-cla bot added the CLA Signed label Nov 21, 2025
@jaykorean jaykorean marked this pull request as ready for review November 21, 2025 18:21
@meta-codesync
Copy link

meta-codesync bot commented Nov 21, 2025

@jaykorean has imported this pull request. If you are a Meta employee, you can view this in D87656914.

Copy link
Contributor

@krhancoc krhancoc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will add a test case as a follow up to this that ensures we test when prepared iterators are not used.

@meta-codesync
Copy link

meta-codesync bot commented Nov 21, 2025

@jaykorean merged this pull request in 2f583ae.

@jaykorean jaykorean deleted the fix_prepared_iter_assetion branch November 21, 2025 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants