<div dir="ltr"><div>Hi</div><div><br></div>pgpool throws <span style="font-size:12.8px">&quot;.. kind does not match..&quot; error message</span> when all the attached backend nodes<span style="font-size:12.8px"> do not return the same response to the query. </span><span style="font-size:12.8px">Although this </span><span style="font-size:12.8px">error message can be a symptom of the backend node sync issue in most cases, but in case when the message kind of backend nodes differs because one of the backend returned the notice response while the other returned some other kind then that case should not be considered as an error case.</span><div><span style="font-size:12.8px"><br></span><div><span style="font-size:12.8px">Consider the scenario where a pgpool is connected to three backend nodes and pgpool is expecting to receive </span><span style="font-size:12.8px">&quot;[C] command complete&quot; message from all nodes for the last query. But while processing the query one of the backend also produced a warning message.</span></div><div><span style="font-size:12.8px"><br></span></div><div><font face="monospace, monospace"><span style="font-size:12.8px">... WARNING: database &quot;testdb&quot; must be vacuum within 11000000 transaction</span><span style="font-size:12.8px"><br></span></font></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Please note that the query was successful on all attached backend, but one backend also produced an extra warning message along with the command complete message.</span></div><div><br></div><div>Now pgpool will throw an error something like</div><div><span style="font-size:12.8px"><br></span></div><div><font face="monospace, monospace"><span style="font-size:12.8px">ERROR: pid 720: read_kind_from_backend: 1 th kind N does not match with master or majority connection kind C</span><br></font></div><div><span style="font-size:12.8px"><br></span></div><div><div style="font-size:12.8px">But since the node would also have sent the expected command complete message after that warning notice, So Ideally, pgpool should ignore the WARNING message and compare the subsequent message, and only throw an error if the message from nodes after ignoring notification messages differs.</div></div><div><br></div><div><span style="font-size:12.8px">What are your thoughts on this?</span></div></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Kind regards</span></div><div><span style="font-size:12.8px">Muhammad Usama</span></div><div><span style="font-size:12.8px"><br></span></div></div>