pixie icon indicating copy to clipboard operation
pixie copied to clipboard

[pgsql tracing] PGSQL protocol parsing should correctly ignore unsupported messages

Open sync-by-unito[bot] opened this issue 3 years ago • 0 comments

Existing code does not support all message types of PGSQL, because of lack of time.

The behavior, however, just errors out when encounter unrecognized message types. That is wrong. As certain unhandled message will cause the whole parsing pipeline restart, and causes cascading failures down the pipeline, like messing up the message stitching.

So the code should be changed to recognize the message but leave them unparsed, and correctly ignores the bytes in the message flow to go on to process other messages.

┆Issue is synchronized with this Jira Bug by Unito

sync-by-unito[bot] avatar Jul 12 '22 05:07 sync-by-unito[bot]