- Backend: FastAPI app with all models, services, schemas, routes - Admin Panel: Next.js dashboard with all modules (CRM, POS, repairs, warranties, billing, notifications, etc.) - Ecommerce: storefront (submodule) + product catalog - AI Agents: .agents/ skill library for Antigravity IDE - Docs: architecture, billing, notification gateway markdown - Submodules: Backend/OpenWA, Ecommerce/File 2/storefront
626 B
626 B
Disaster Recovery Runbook
Failure Recovery Protocols
1. Primary MySQL Outage
- Monitoring detects primary database failure; triggers automated failover to healthy Read Replica.
- Read Replica promoted to Primary.
- FastAPI database connection pool automatically reconnects to new Primary.
2. OpenSearch Cluster Outage
- OpenSearch Circuit Breaker trips automatically.
- Search requests fall back to restricted simple ID/SKU lookups in MySQL.
- Search Worker pauses indexing events in RabbitMQ queue.
- Once OpenSearch cluster recovers, Celery trigger replays Outbox events to rebuild search indices.