From: Tomas Vondra <tomas.vondra@2ndquadrant.com>
To: molofeev <molofeev3@gmail.com>
To: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15142: ERROR: MultiXactId nnnnn has not been created yet -- apparent wraparound in v9.5
Date: Thu, 5 Apr 2018 14:11:29 +0200
Message-ID: <baa2c00a-6be2-f909-1a4f-9d7a6495b615@2ndquadrant.com> (raw)
In-Reply-To: <6e589f1d-851e-790b-b9d0-fcbf9835154c@gmail.com>
References: <20180404155016.ylskrkq4toczkk3u@alvherre.pgsql>
<87woxnj75g.fsf@news-spur.riddles.org.uk>
<87sh8bj5w7.fsf@news-spur.riddles.org.uk>
<6e589f1d-851e-790b-b9d0-fcbf9835154c@gmail.com>
On 4/5/18 1:46 PM, molofeev wrote:
>
>> 4. Obviously the data in the corrupted block is not easily recoverable.
>> If you need to recover the remaining data in the table, it could
>> probably best be done by zeroing only this specific block. Whether this
>> is worth doing will depend on whether it would be easier to just
>> recreate the data.
> If fsync was disabled when I work with table, can I restore block
> 3220146 (by zeroing or maybe remove it)?
Honestly, if you've disabled fsync and it crashed, then all bets are off
and the best thing you can do is rebuilding the database. This is hardly
the only corrupted block.
regards
--
Tomas Vondra http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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: tomas.vondra@2ndquadrant.com, molofeev3@gmail.com, andrew@tao11.riddles.org.uk, alvherre@alvh.no-ip.org
Subject: Re: BUG #15142: ERROR: MultiXactId nnnnn has not been created yet -- apparent wraparound in v9.5
In-Reply-To: <baa2c00a-6be2-f909-1a4f-9d7a6495b615@2ndquadrant.com>
References: <20180404155016.ylskrkq4toczkk3u@alvherre.pgsql> <87woxnj75g.fsf@news-spur.riddles.org.uk> <87sh8bj5w7.fsf@news-spur.riddles.org.uk> <6e589f1d-851e-790b-b9d0-fcbf9835154c@gmail.com> <baa2c00a-6be2-f909-1a4f-9d7a6495b615@2ndquadrant.com>
* 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