From: | Vladimir Gordiychuk <folyga(at)gmail(dot)com> |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | [pgjdbc/pgjdbc] 2d3e89: bug: floating logical replcation test (#829) |
Date: | 2017-05-21 13:15:40 |
Message-ID: | 592192fc9f119_67033fd09869dc344238c@hookshot-fe5-cp1-prd.iad.github.net.mail |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: 2d3e8972a0b34106a8b7426619cabf852c38ddaa
https://github.com/pgjdbc/pgjdbc/commit/2d3e8972a0b34106a8b7426619cabf852c38ddaa
Author: Vladimir Gordiychuk <folyga(at)gmail(dot)com>
Date: 2017-05-21 (Sun, 21 May 2017)
Changed paths:
M pgjdbc/src/test/java/org/postgresql/replication/LogicalReplicationTest.java
Log Message:
-----------
bug: floating logical replcation test (#829)
```
ERROR: replication slot "pgjdbc_logical_replication_slot" is active for PID 19978
```
After close replication slot, postgresql require some times to kill
previous session before start new, that why need wait when previous session
die before restart replication replication via replication slot.
More correct way, it's use
org.postgresql.replication.PGReplicationStream#close, in that case not
necessary wait when previous session die, but current version postgresql still
have a bug that not allow stop replication fast enough[1].
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Cramer | 2017-05-23 12:56:38 | [pgjdbc/pgjdbc] 9c3471: WIP needs tests. Initial PR from Thomas Kellerer t... |
Previous Message | Jorge Solorzano | 2017-05-21 13:14:51 | [pgjdbc/pgjdbc] 4ac748: use zulu-9 (#828) |