pgjdbc/pgjdbc GitHub issues and pull requests (mirror)
help / color / mirror / Atom feedFrom: vlsi (@vlsi) <[email protected]>
To: pgjdbc/pgjdbc <[email protected]>
Subject: [pgjdbc/pgjdbc] PR #3979: fix: fix flaky CopyBothResponseTest by using WAL flush LSN
Date: Fri, 20 Mar 2026 19:29:16 +0000
Message-ID: <[email protected]> (raw)
Similar to 2a7ac4140 which fixed flaky replication restart tests in LogicalReplicationTest by waiting for confirmed_flush_lsn.
It should fix failure like
https://github.com/pgjdbc/pgjdbc/actions/runs/23354694589/job/67942890085?pr=3844
```
FAILURE 0,2sec, org.postgresql.replication.CopyBothResponseTest > receiveXLogData()
org.postgresql.util.PSQLException: ERROR: requested starting point 0/B626000 is ahead of the WAL flush position of this server 0/B622000
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2895)
at org.postgresql.core.v3.QueryExecutorImpl.processCopyResults(QueryExecutorImpl.java:1434)
at org.postgresql.core.v3.QueryExecutorImpl.readFromCopy(QueryExecutorImpl.java:1330)
at org.postgresql.core.v3.CopyDualImpl.readFromCopy(CopyDualImpl.java:49)
at org.postgresql.core.v3.CopyDualImpl.readFromCopy(CopyDualImpl.java:43)
at org.postgresql.replication.CopyBothResponseTest.receiveXLogData(CopyBothResponseTest.java:144)
```
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: github://pgjdbc/pgjdbc
Cc: [email protected], [email protected]
Subject: Re: [pgjdbc/pgjdbc] PR #3979: fix: fix flaky CopyBothResponseTest by using WAL flush LSN
In-Reply-To: <<[email protected]>>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox