From: Hillel.Eilat@attunity.com
To: pgsql-bugs@postgresql.org
Subject: BUG #13287: Database corruption - PANIC: could not fsync file "pg_replslot/[Slot]/state": Bad file descriptor
Date: Thu, 14 May 2015 10:55:14 +0000
Message-ID: <20150514105514.2691.67352@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 13287
Logged by: Hillel Eilat
Email address: Hillel.Eilat@attunity.com
PostgreSQL version: 9.4.1
Operating system: Windows 7
Description:
Hello
I am in a process of developing an REPLICATION application using PostgreSQL
9.4.1 on a "Windows 7" platform.
"Logical Decoding" feature is used for extracting database changes in
real-time.
A dedicated replication slot - say [Replication Slot Name] - is used for
controlling this flow.
Everything works fine until PostgreSQL service is stopped.
While an active replication slot exists and PostgreSQL service is neatly
stopped, further attempt to restart it is responded by:
PostgreSQL - PANIC: could not fsync file "pg_replslot/[Replication Slot
Name]/state": Bad file descriptor
Actually - the database in question is now corrupted / not operational
anymore.
Tonight this occurred also after a spontaneous machine shutdown.
This misbehavior now occurs very systematically upon stopping PostgreSQL
service while active replication slots are defined there.
Your help will be appreciated.
Hillel.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: Hillel.Eilat@attunity.com
Subject: Re: BUG #13287: Database corruption - PANIC: could not fsync file "pg_replslot/[Slot]/state": Bad file descriptor
In-Reply-To: <20150514105514.2691.67352@wrigleys.postgresql.org>
References: <20150514105514.2691.67352@wrigleys.postgresql.org>
* 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