release-25.4: rowenc: fix panic in composite datum type checking#161746
release-25.4: rowenc: fix panic in composite datum type checking#161746trunk-io[bot] merged 1 commit intorelease-25.4from
Conversation
Fixes #161402 Previously, composite type checking assumed all values implemented tree.CompositeDatum, causing panics when this wasn't true. Use safe type assertion to check if datum is composite before calling IsComposite(). Release note: None
15d38cc to
dcc3d85
Compare
|
Thanks for opening a backport. Before merging, please confirm that it falls into one of the following categories (select one):
Add a brief release justification to the PR description explaining your selection. Also, confirm that the change does not break backward compatibility and complies with all aspects of the backport policy. All backports must be reviewed by the TL and EM for the owning area. |
|
It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR? 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf. |
|
✅ PR #161746 is compliant with backport policy Confidence: high 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf. |
michae2
left a comment
There was a problem hiding this comment.
@michae2 reviewed 1 file and all commit messages, and made 1 comment.
Reviewable status:complete! 1 of 0 LGTMs obtained (waiting on @yuzefovich and @ZhouXing19).
|
/trunk merge |
|
😎 Merged successfully - details. |
Backport 1/1 commits from #161739 on behalf of @ZhouXing19.
Fixes #161402
Previously, composite type checking assumed all values implemented tree.CompositeDatum, causing panics when this wasn't true. Use safe type assertion to check if datum is composite before calling IsComposite().
Release note: None
Release justification: fix for high severity stability issue that causes node crashes. A test failure revealed that incorrect type assumptions in rowenc can trigger panics when processing composite types, leading to node instability and potential service disruption.