Session 210 — Memgraph HA Cluster
[superseded: this cluster was decommissioned and deleted 2026-07-10; replaced by orchgraph — see Memgraph HA Cluster Reference. Historical record, left as-is.]
Goals
- Set up Memgraph HA cluster with autofailover/failback.
- Integrate HA controller with semantic_graph adapter.
- Add tests and fix test isolation.
Outcomes
- Created
MemgraphHAController+ CLI + Incus launcher scripts. - Deployed 3-node cluster + controller container.
- Verified failover (memgraph-1 → memgraph-2) and failback (memgraph-1 as replica).
- Added
tests/semantic_graph/test_memgraph_ha.py. - Fixed vector index isolation in test fixture.
- Updated
.envwithMEMGRAPH_HA_CONTROLLER_URLandMEMGRAPH_URIS.
Key Commands
uv run pytest tests/semantic_graph/ -v --timeout=120
./incus/memgraph-cluster-launch.sh
curl http://10.53.1.153:8080/status