eventsourcing/es4j
Ver no GitHubProblem: PostgreSQL database provisioning contention
Open
#208 aberto em 27 de jan. de 2017
bughelp wanted
Métricas do repositório
- Stars
- (406 stars)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
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.