<div dir="ltr">Hello,<br><br>after setting the parameter prefer_lower_delay_standby = off the errors disappeared. I will keep it like this.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em qua., 9 de ago. de 2023 às 00:34, Bo Peng <<a href="mailto:pengbo@sraoss.co.jp">pengbo@sraoss.co.jp</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Hi<br>
<br>
> We have a java application that uses jdbc to connect to pgpool 4.4.3 that<br>
> is connected to a master and a replica. It's working but in the logs there<br>
> are thousands of the following warning:<br>
> <br>
> WARNING: there is no transaction in progress<br>
> <br>
> Any tips to resolve this warning ?! pgpool is committing on the replica<br>
> with no open transactions.<br>
<br>
I am not sure if pgpool sent "commit/abort" or not.<br>
Could you share the pgpool log and PostgreSQL logs of both master and replica?<br>
<br>
If it is possible, could you share the query that caused this issue?<br>
Alternatively, if possible, could you set log_statement = 'all' and share the logs?<br>
Please note that after reproducing the issue,<br>
disable log_statement = 'all' to save the disk space.<br>
<br>
On Tue, 8 Aug 2023 09:28:55 -0400<br>
Franklin Anderson de Oliveira Souza <<a href="mailto:franklinbr@gmail.com" target="_blank">franklinbr@gmail.com</a>> wrote:<br>
<br>
> Hello everyone,<br>
> <br>
> We have a java application that uses jdbc to connect to pgpool 4.4.3 that<br>
> is connected to a master and a replica. It's working but in the logs there<br>
> are thousands of the following warning:<br>
> <br>
> WARNING: there is no transaction in progress<br>
> <br>
> Any tips to resolve this warning ?! pgpool is committing on the replica<br>
> with no open transactions.<br>
> <br>
> Tanks<br>
> <br>
> -- <br>
> foobar<br>
<br>
<br>
-- <br>
Bo Peng <<a href="mailto:pengbo@sraoss.co.jp" target="_blank">pengbo@sraoss.co.jp</a>><br>
SRA OSS LLC<br>
TEL: 03-5979-2701 FAX: 03-5979-2702<br>
URL: <a href="https://www.sraoss.co.jp/" rel="noreferrer" target="_blank">https://www.sraoss.co.jp/</a><br>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">foobar</div>