eventsourcing/es4j

Problem: PostgreSQL database provisioning contention

Open

#208 aberto em 27 de jan. de 2017

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)Java (27 forks)batch import
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.

Guia do colaborador