eventsourcing/es4j

Problem: PostgreSQL database provisioning contention

Open

#208 aperta il 27 gen 2017

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Java (27 fork)batch import
bughelp wanted

Metriche repository

Star
 (406 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor