[Bugs] [Bug 1665216] Databases crashes on Gluster 5 with the option performance.write-behind enabled
bugzilla at redhat.com
bugzilla at redhat.com
Fri Feb 1 10:23:14 UTC 2019
https://bugzilla.redhat.com/show_bug.cgi?id=1665216
mhutter <bugzilla.redhat.com at mhutter.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla.redhat.com at mhutter
| |.net
--- Comment #5 from mhutter <bugzilla.redhat.com at mhutter.net> ---
Reproduction case: Exactly as described in the original Ticket.
# Prepare gluster volume
gluster volume set gluster-pv18 performance.write-behind off
# mount the volume
mount -t glusterfs <gluster-server>:/gluster-pv18 /mnt/gluster-pv18
# start Postgres
docker run --name psql-test --rm -v /mnt/gluster-pv18:/var/lib/postgresql/data
docker.io/postgres:9.5
# this should work as expected
# clean up
docker stop psql-test
rm -rf /mnt/gluster-pv18/*
umount /mnt/gluster-pv18
# enable write-behind
gluster volume set gluster-pv18 performance.write-behind on
# mount the volume
mount -t glusterfs <gluster-server>:/gluster-pv18 /mnt/gluster-pv18
# start Postgres
docker run --name psql-test --rm -v /mnt/gluster-pv18:/var/lib/postgresql/data
docker.io/postgres:9.5
# !!! this will now fail:
# creating template1 database in /var/lib/postgresql/data/base/1 ... ok
# initializing pg_authid ... LOG: invalid primary checkpoint record
# LOG: invalid secondary checkpoint record
# PANIC: could not locate a valid checkpoint record
# Aborted (core dumped)
# child process exited with exit code 134
# initdb: removing contents of data directory "/var/lib/postgresql/data"
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Bugs
mailing list