eventsourcing/es4j

Problem: PostgreSQL database provisioning contention

Open

#208 opened on Jan 27, 2017

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Java (406 stars) (27 forks)batch import
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.

Contributor guide