eventsourcing/es4j
View on GitHubProblem: PostgreSQL database provisioning contention
Open
#208 opened on Jan 27, 2017
bughelp wanted
Description
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.