Re: pg11.1: dsa_area could not attach to segment

Sergei Kornilov <sk@zsrv.org>

From: Sergei Kornilov <sk@zsrv.org>
To: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Justin Pryzby <pryzby@telsasoft.com>, "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2019-02-14T13:31:22Z
Lists: pgsql-hackers
Hi!

Great work, thank you!

I can not reproduce bug after 30min test long. (without patch bug was after minute-two)

regards Sergei


Commits

  1. Fix race in dsm_attach() when handles are reused.

  2. Refactor pid, random seed and start time initialization.