es4j icon indicating copy to clipboard operation
es4j copied to clipboard

Problem: PostgreSQL database provisioning contention

Open yrashk opened this issue 8 years ago • 0 comments

PostgreSQL-backed journal & indices will create necessary tables and types without consideration for others — meaning there might be a conflict and two nodes might attempt to do the same thing at the same time.

Proposed solution: ensure these storages are locking these initialization routines. PostgreSQL advisory locks can be used to easily accomplish this.

yrashk avatar Jan 27 '17 03:01 yrashk