ifixkart-admin/docs/operations/disaster-recovery.md
Adithiyan bbd3a3e959 feat: initial commit — full platform snapshot
- 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
2026-10-13 12:59:47 +05:30

16 lines
626 B
Markdown

# Disaster Recovery Runbook
## Failure Recovery Protocols
---
## 1. Primary MySQL Outage
1. Monitoring detects primary database failure; triggers automated failover to healthy Read Replica.
2. Read Replica promoted to Primary.
3. FastAPI database connection pool automatically reconnects to new Primary.
## 2. OpenSearch Cluster Outage
1. OpenSearch Circuit Breaker trips automatically.
2. Search requests fall back to restricted simple ID/SKU lookups in MySQL.
3. Search Worker pauses indexing events in RabbitMQ queue.
4. Once OpenSearch cluster recovers, Celery trigger replays Outbox events to rebuild search indices.