Skip to content

Conversation

morgando
Copy link
Contributor

@morgando morgando commented Sep 30, 2025

/adhoc-test serialstep

This PR updates a test case to comply with the new requirement that all clients running serializable transactions must set enable_serial_isolation. As a result, a few outputs changed because selectv’s range-checking implementation kicks in when enable_serial_isolation is used. These differences are noted in the PR comments.

@morgando morgando marked this pull request as draft September 30, 2025 15:31
done
[commit] failed with rc 230 transaction is not serializable
done
[commit] failed with rc 230 transaction is not serializable
Copy link
Contributor Author

@morgando morgando Sep 30, 2025

Choose a reason for hiding this comment

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

This transaction is serializable in theory, but our implementation is conservative and will sometimes abort transactions that could’ve passed.

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: Success ✓.
Smoke testing: Error ⚠.
Cbuild submission: Error ⚠.
Regression testing: Success ✓.

done
(rows updated=1)
done
[commit] failed with rc -103 selectv constraints
Copy link
Contributor Author

@morgando morgando Oct 1, 2025

Choose a reason for hiding this comment

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

This commit should’ve failed all along under our selectv specification. The fact that it didn’t before points to a bug in the selectv genid-checking implementation (which is used outside serializable). With serializable on, we hit the alternative range-checking implementation instead, which does not have the bug.

@morgando morgando marked this pull request as ready for review October 1, 2025 15:14
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