Skip to content

Conversation

markhannum
Copy link
Contributor

This bug crashed the database in bdb_osql_serial_check when it was unable to find a log record. bdb_osql_serial_check assumes that the caller holds a reference to the bdb_lock, which would prevent logfile truncation. This PR acquires the bob-lock in rese_commit prior checking the generation, and performing the selectv check.

@markhannum markhannum force-pushed the fix_rese_commit_crash branch from f17852e to 6948c01 Compare October 2, 2025 15:55
selectv precheck is an optimization

Signed-off-by: Mark Hannum <[email protected]>
@markhannum markhannum force-pushed the fix_rese_commit_crash branch from 6948c01 to c294b2e Compare October 2, 2025 16:01
Copy link

@roborivers roborivers left a comment

Choose a reason for hiding this comment

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

Coding style check: Error. ⚠.
Smoke testing: Error ⚠.
Cbuild submission: Error ⚠.
Regression testing: 5/631 tests failed ⚠.

The first 10 failing tests are:
selectv_rcode_serialretry_generated
selectv_rcode_serialize_reads_like_writes_generated
selectv_rcode_disable_svonly_nop_generated
selectv_rcode_force_commit_generated
selectv_rcode

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