ES /docs

MySQL InnoDB lock contention — service-wide degradation

Service
cupixworks-api
Occurrences
60
Status
Reported
Confidence
85%
Actionability
28%
Cluster ID
37d67138-a043-4669-af16-3d0f6805fb46
First Seen
2026-06-26 19:01 UTC
Last Seen
2026-08-04 19:43 UTC
Actions

MySQL InnoDB lock contention — service-wide degradation

What Happened#

2026-06-27 04:01 KST 에 cupixworks-apiApi::V1::FacilitiesController#index 요청 한 건이 52,435ms (52초) 만에 응답했다. 동시 윈도우(04:01 ~ 04:22 KST) 에 같은 서비스에서 SearchesController#counts(17초), RecordsController#index(51초) 지연 클러스터와 ReviewRepository#captures Elasticsearch 호출 타임아웃(10초)이 함께 발생했고, status-board 가 4건의 클러스터를 묶어 cupixworks-api service degraded 인시던트(2026-06-26-svc-cupixworks-api--unknown-4)로 등록했다. 직후 04:21 ~ 04:24 KST 에 panos 테이블에서 Mysql2::Error::TimeoutError: Lock wait timeout exceeded 502 응답이 다수 발생, 같은 시간대에 API 평균 trace duration 이 평소 13초 대비 810초로 상승했다.

Quick Facts#

Field Value
resource_name Api::V1::FacilitiesController#index
service cupixworks-api
cluster_type latency
avg_duration_ms 52435
max_duration_ms 52435
sample_trace_id 4514254013736018340
env production, us-west-2
tenant cupix

Affected Teams#

Team / Domain Error Count Impact
cupixworks-api / Facilities (list) 1 trace, 52s 워크스페이스 시설 목록 로드가 50초+ 소요. 클라이언트 측 타임아웃 가능성
cupixworks-api / Searches (counts) 1 trace, 17s 글로벌 검색 카운트 위젯 지연 (같은 인시던트 cluster 9de1abf8)
cupixworks-api / Records (list) 1 trace, 51s 레코드 목록 로드 지연 (같은 인시던트 cluster cfe24462)
cupixworks-api / Review.captures 2 errors, 10s Elasticsearch 호출 Faraday 10s 타임아웃 (같은 인시던트 cluster e2b8679d)
cupixworks-api / Panos uploading ≥16 events check_uploading / check_tile_uploading / mask_upload_url 가 InnoDB lock wait timeout 으로 502

Timeline#

  1. 2026-06-27 04:01:37 KSTApi::V1::FacilitiesController#index 한 건이 52,435ms 로 완료 (이 클러스터의 first_seen)
  2. 2026-06-27 04:14:08 KSTApi::V1::SearchesController#counts 16,984ms (cluster 9de1abf8)
  3. 2026-06-27 04:17:26 ~ 04:17:28 KSTReviewRepository#captures 에서 Failed to get captures - Operation timed out after 10001 milliseconds 2건 (cluster e2b8679d)
  4. 2026-06-27 04:21:06 ~ 04:24:00 KSTpanos 테이블에서 Mysql2::Error::TimeoutError: Lock wait timeout exceeded 16건 (502 응답)
  5. 2026-06-27 04:22:47 KSTApi::V1::RecordsController#index 50,745ms (cluster cfe24462)
  6. 2026-06-27 04:26:20 ~ 04:26:26 KSTPano, Group, Record 모델에서 NotFound - attributes_in_database warn 로그 다수 (인덱싱 콜백이 트랜잭션 롤백된 레코드를 참조)
  7. status-board — 위 4 클러스터가 svc:cupixworks-api::unknown 스코프 인시던트 2026-06-26-svc-cupixworks-api--unknown-4 로 묶임 (open)

Scoring#

Confidence 85% · Actionability 28%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 7 code refs, 11 log queries
Code path explicitness 3/3 7 file:line refs
Log evidence 3/3 section, query, pattern
RCA structure 3/3 3/3 sections
Revision history 0/3 0 revision(s)
Agent execution 3/3 success

Actionability#

Dimension Score Detail
Fix complexity 1/5 critical
Affected files 1/5 13 file(s)
Single repo 1/3 5 service(s)
Immediate actions 0/3 absent
Testability 0/3 no test info
External dependency 1/3 external deps found
Data migration 3/3 no migration