relation mapping file checksum failure

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: relation mapping file checksum failure
Date: 2017-09-10 18:39:40
Message-ID: 3751.1505068780@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

A pretty routine "make check-world" run on HEAD just blew up here,
with the symptom

2017-09-10 14:27:33.318 EDT [2535] FATAL: relation mapping file "global/pg_filenode.map" contains incorrect checksum
2017-09-10 14:27:33.319 EDT [2519] LOG: autovacuum launcher process (PID 2535) exited with exit code 1
2017-09-10 14:27:33.319 EDT [2519] LOG: terminating any other active server processes

This was during a REINDEX DATABASE operation in
src/bin/scripts/t/200_connstr.pl, for what that's worth.

Not sure what to make of this. Random bit flip? My machine does have
ECC memory, though. Race condition against some updater? But the file
is only 512 bytes, and we've always assumed that that size of disk
read or write is atomic. (Platform is RHEL6/x86_64, kernel is
Red Hat 2.6.32-696.10.1.el6.x86_64.)

regards, tom lane

Browse pgsql-hackers by date

  From Date Subject
Next Message Christoph Berg 2017-09-10 20:51:35 mysql_fdw + PG10: unrecognized node type: 217
Previous Message Tom Lane 2017-09-10 17:32:22 Re: Red-Black tree traversal tests