Repository navigation
Make sure sss_failover_transaction_connected_recv() never - #9683
alexey-tikhonov wants to merge 1 commit into
Conversation
returns NULL. Implementation assisted-by: Claude Code (Opus 4.8)
|
Not sure if CI is broken in this branch? |
pbrezina
left a comment
There was a problem hiding this comment.
Just commenting now.
Will do proper review later as I'm not entirely sure if sss_failover_set_connection should be used to set fctx->conn to NULL.
| * caller's lifetime and is guaranteed to be non-NULL. Callers therefore never | ||
| * need to check the result for NULL. | ||
| * | ||
| * @mem_ctx is intentionally unused: the connection is owned by the connected |
There was a problem hiding this comment.
Why keep mem_ctx instead of ditching it?
not sure why |
|
/packit test |
I don't know how to approach this better, but during review of #8751 I saw repeated pattern that checks (conn == NULL) and errors request. I'd like to get rid of this copy&paste. |
returns NULL.
Implementation assisted-by: Claude Code (Opus 4.8)