pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vladimir Gordiychuk <folyga@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: [pgjdbc/pgjdbc] 2d3e89: bug: floating logical replcation test (#829)
Date: Sun, 21 May 2017 06:15:40 -0700
Message-ID: <592192fc9f119_67033fd09869dc344238c@hookshot-fe5-cp1-prd.iad.github.net.mail> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: 2d3e8972a0b34106a8b7426619cabf852c38ddaa
      https://github.com/pgjdbc/pgjdbc/commit/2d3e8972a0b34106a8b7426619cabf852c38ddaa
  Author: Vladimir Gordiychuk <folyga@gmail.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].

1. http://www.postgresql.org/message-id/CAFgjRd3hdYOa33m69TbeOfNNer2BZbwa8FFjt2V5VFzTBvUU3w@mail.gmail....



-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



Message-ID: <592192fc9f119_67033fd09869dc344238c@hookshot-fe5-cp1-prd.iad.github.net.mail>
Permalink:  ../592192fc9f119_67033fd09869dc344238c@hookshot-fe5-cp1-prd.iad.github.net.mail/
Also on:    postgresql.org/message-id/592192fc9f119_67033fd09869dc344238c@hookshot-fe5-cp1-prd.iad.github.net.mail

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: folyga@gmail.com
  Subject: Re: [pgjdbc/pgjdbc] 2d3e89: bug: floating logical replcation test (#829)
  In-Reply-To: <592192fc9f119_67033fd09869dc344238c@hookshot-fe5-cp1-prd.iad.github.net.mail>
  References: <592192fc9f119_67033fd09869dc344238c@hookshot-fe5-cp1-prd.iad.github.net.mail>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox