9a3bb4b6ce
Build and Push Reader API Image / docker (push) Successful in 1m3s
feat(docker): configure NAS content and EPUB source directories in docker-compose feat(migrations): add tables for SourceAsset, ImportJob, ChapterContentRef, and AssetNovelMapping feat(scripts): create backfill script for populating ChapterContentRef from MongoDB chapters
991 B
991 B
Rollout Checklist - NAS Chapter Storage
Pre-Deploy
- Backup PostgreSQL schema + critical tables
- Verify NAS mount/access permissions in API runtime
- Enable feature flags (default: Mongo fallback on)
Deploy Order
- Deploy DB migrations
- Deploy API with dual-read disabled by default
- Enable discover/approve/convert job APIs
- Run pilot import set (small curated EPUB batch)
- Enable NAS-first for pilot users/env
- Gradually ramp NAS-first traffic
Runtime Verification
/api/healthstable- Chapter read success rate >= target
- NAS read timeout/error rate below threshold
- Mongo fallback rate trending down
Rollback
- Switch feature flag to Mongo-first immediately
- Stop import jobs
- Keep imported refs for investigation (no destructive cleanup)
Post-Deploy
- Compare chapter counts and random content samples
- Review failed/review_required import queue
- Publish release notes for web/mobile teams