Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f46KH-0004eL-7E for pgsql-bugs@arkaria.postgresql.org; Thu, 05 Apr 2018 14:57:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f46KG-0003j7-5m for pgsql-bugs@arkaria.postgresql.org; Thu, 05 Apr 2018 14:57:20 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f46KF-0003iy-Sd for pgsql-bugs@lists.postgresql.org; Thu, 05 Apr 2018 14:57:20 +0000 Received: from lungold.riddles.org.uk ([82.68.208.19]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f46KC-0007yD-L5 for pgsql-bugs@lists.postgresql.org; Thu, 05 Apr 2018 14:57:18 +0000 Received: from [192.168.127.1] (port=46017 helo=caithnard.riddles.org.uk) by lungold.riddles.org.uk with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.88 (FreeBSD)) (envelope-from ) id 1f46K6-0000YW-W5; Thu, 05 Apr 2018 14:57:11 +0000 Received: from [127.0.0.1] (port=40260 helo=caithnard.riddles.org.uk) by caithnard.riddles.org.uk with esmtp (Exim 4.89 (FreeBSD)) (envelope-from ) id 1f46K6-0008zR-2j; Thu, 05 Apr 2018 14:57:10 +0000 From: Andrew Gierth To: molofeev Cc: Alvaro Herrera , Tomas Vondra , pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15142: ERROR: MultiXactId nnnnn has not been created yet -- apparent wraparound in v9.5 In-Reply-To: <7e803d83-d89e-80ab-17ed-1e53ff5b04c3@gmail.com> (molofeev's message of "Thu, 5 Apr 2018 10:02:35 +0300") Message-ID: <87fu49k8k1.fsf@news-spur.riddles.org.uk> References: <20180404155016.ylskrkq4toczkk3u@alvherre.pgsql> <87woxnj75g.fsf@news-spur.riddles.org.uk> <87sh8bj5w7.fsf@news-spur.riddles.org.uk> <7e803d83-d89e-80ab-17ed-1e53ff5b04c3@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (berkeley-unix) Date: Thu, 05 Apr 2018 15:57:08 +0100 MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk >>>>> "molofeev" == molofeev writes: >> You said a server crash occurred while you were creating indexes. Was >> that a hard crash (power failure, etc.) and is it possible that you had >> fsync disabled in postgresql.conf, or hardware or filesystems that don't >> respect fsync properly? molofeev> That was not hard crash, and fsync was disabled. molofeev> I was disconnected form remote terminal, which was performing molofeev> creating indexes from sql file. Just being disconnected remotely (for some reason other than a server crash) isn't enough to account for the corruption; fsync=off only results in corrupt data if there is an actual OS-level crash or unclean shutdown. So I wouldn't rule out the possibility of hardware or storage subsystem problems. -- Andrew (irc:RhodiumToad)