fix(crawler): realtime_table id bigint(시퀀스 오버플로) + HCX 폴링 비활성 #8

Merged
windpacer merged 1 commits from fix/realtime-seq-bigint-and-hcx into main 2026-06-19 05:44:39 +09:00

1 Commits

Author SHA1 Message Date
windpacer
b3985d77fb fix(crawler): realtime_table id bigint(시퀀스 오버플로) + HCX 폴링 비활성
운영 사고 재발 방지:
- realtime_table.id가 SERIAL(int4)이라 매 poll의 nextval 소비로 2^31 도달 →
  전체 realtime 업서트가 'reached maximum value of sequence'로 정지(현장에서 14h
  무갱신 발생, bigint ALTER로 라이브 복구 완료). 신규 배포: CREATE를 BIGSERIAL로,
  기존 배포: 기동 시 멱등 마이그레이션(integer일 때만 bigint+시퀀스 ALTER).
- gateway-config: HCX(IP·맵 없는 플레이스홀더)가 enabled=true라 50055 연결거부
  로그 양산 → enabled=false.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-19 05:44:11 +09:00