eventsourcing/es4j

Problem: PostgreSQL database provisioning contention

Open

#208 opened on 2017年1月27日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)Java (27 forks)batch import
bughelp wanted

Repository metrics

Stars
 (406 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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.

コントリビューターガイド