Skip to content

docs(db): make replica switchover the default DB type change - #727

Merged
anton061311 merged 1 commit into
devfrom
docs/725-db-switchover-default
Dec 1, 2026
Merged

anton061311 merged 1 commit into
devfrom
docs/725-db-switchover-default

Conversation

@anton061311

@anton061311 anton061311 commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

1. 📝 요약

Makes replica switchover the default DB type change, since apps are expected to stay up. Off-hours zero apps is the bootcamp cost exception.

2. 🔧 변경 사항

  • ADR-0012: [Perf] 앱 4대 실부하 DB 전환 시험 #721 results. Without load the write stop is 1.98 s vs 78 and 83 s before.
  • Under-load numbers are kept apart as a data safety check: up 13.07 to 9.14 s, mostly replica lag.
  • Integrity: client successes matched DB rows, duplicates 0, round 2 UNKNOWN payments all became APPROVED.
  • Remaining work: the manager approved Lambda auto switchover. The dbHeavy-only rule is dropped.

3. 🔎 리뷰 포인트

  • The deployed Lambda v9 still uses stop, change, start. The text says so.

4. 🧪 테스트

  • Docs only. Numbers from .ai-output/perf/2026-12-01-db-switchover-4app/result.md.
  • 독립 검증 없음: tier below

5. 🔗 관련 이슈

Closes #725

Apps are expected to stay up, so a DB type change happens with apps
running and replica switchover is the default method. Records the
4-app results from #721, marks the off-hours stop-and-change path as
the bootcamp exception, and notes the approved Lambda automation.

Closes #725
@anton061311 anton061311 added this to the Phase 4 - Fanq milestone Dec 1, 2026
@anton061311 anton061311 self-assigned this Dec 1, 2026
@anton061311
anton061311 merged commit 0c0e07e into dev Dec 1, 2026
3 checks passed
@anton061311
anton061311 deleted the docs/725-db-switchover-default branch December 1, 2026 11:21
anton061311 added a commit that referenced this pull request Dec 1, 2026
The line was fixed on the #727 branch after it merged, so dev still
carries the old text.

Closes #754
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Docs] DB 교체 기본 방법을 복제본 전환으로 문서화

1 participant