Skip to content
Snippets Groups Projects
Commit 9a922ccc authored by Serge Petrenko's avatar Serge Petrenko Committed by Serge Petrenko
Browse files

relay: check return value of xrow_decode_synchro

Relay sometimes decodes the PROMOTE packets to be sent in order
to conditionally delay their dispatch. It was believed that own WALs
can't be corrupted and hence there is no point in checking that decoding
succeeds.

Let's be more strict here and check the decoding result before
proceeding.

Closes #9265

NO_DOC=bugfix
NO_TEST=hard to test
NO_CHANGELOG=not user-visible
parent c03b8856
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment