Epic: ES Infrastructure and Configuration #148

Open
opened 2026-03-15 23:08:29 +00:00 by freemo · 0 comments
Owner

Background and Context

The event sourcing system requires supporting infrastructure before it can be promoted through migration phases. This includes Docker-based ImmuDB provisioning for development and CI, and the phased es_write_mode configuration key that replaces the boolean event_sourcing_enabled toggle with a multi-valued setting supporting all four migration phases.

Demonstrable Outcome

docker compose up starts both the Aethyr server and an ImmuDB instance. ServerConfig[:es_write_mode] accepts :off, :secondary, :dual_primary, :primary, and :es_only, enabling phased migration control.

Acceptance Criteria

  • docker-compose.yml includes an ImmuDB service with health check
  • ServerConfig[:es_write_mode] is implemented with validation
  • ServerConfig[:event_sourcing_enabled] is deprecated (returns true if mode is not :off)
  • Documentation updated
## Background and Context The event sourcing system requires supporting infrastructure before it can be promoted through migration phases. This includes Docker-based ImmuDB provisioning for development and CI, and the phased `es_write_mode` configuration key that replaces the boolean `event_sourcing_enabled` toggle with a multi-valued setting supporting all four migration phases. ## Demonstrable Outcome `docker compose up` starts both the Aethyr server and an ImmuDB instance. `ServerConfig[:es_write_mode]` accepts `:off`, `:secondary`, `:dual_primary`, `:primary`, and `:es_only`, enabling phased migration control. ## Acceptance Criteria - `docker-compose.yml` includes an ImmuDB service with health check - `ServerConfig[:es_write_mode]` is implemented with validation - `ServerConfig[:event_sourcing_enabled]` is deprecated (returns true if mode is not `:off`) - Documentation updated
freemo added this to the v1.0.0 milestone 2026-03-15 23:19:39 +00:00
freemo self-assigned this 2026-03-16 01:26:55 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference: aethyr/Aethyr#148
No description provided.