ES /docs

Api::V1::ClustersController#resource_upload_url (avg 16942ms, max 16942ms)

Service
cupixworks-api
Occurrences
1
Status
Reported
Confidence
85%
Actionability
28%
Cluster ID
1e1c2abe-0155-4110-9969-483fff6a99b1
First Seen
2026-07-10 19:20 UTC
Last Seen
2026-07-10 19:20 UTC
Actions

Api::V1::ClustersController#resource_upload_url (avg 16942ms, max 16942ms)

What Happened#

2026-07-11 04:20 KST 시점에 cupixworks-api (us-west-2, tenant cupix) 의 POST /api/v1/clusters/:id/resources/:kind/upload_url 요청 한 건이 16,942 ms 동안 지속된 뒤 정상(HTTP 200)으로 완료되었다. 동일한 시간대(UTC 18:15–19:37, KST 03:15–04:37) 에 다른 PUT 계열 엔드포인트(Api::V1::JobsController#update, #complete_action, Api::V1::PanosController#check_uploading, check_tile_uploading, update_meta_by_key, Api::V1::PointcloudsController#check_uploading) 에서 Mysql2::Error::TimeoutError: Lock wait timeout exceeded 예외가 50건 이상 관측되었다. 이 latency span 은 DB row lock 경합으로 인한 대기시간의 일부이며, innodb_lock_wait_timeout 만료 전에 잠금을 획득해 성공한 케이스로 판단된다.

Quick Facts#

Field Value
resource_name Api::V1::ClustersController#resource_upload_url
avg_duration_ms 16942
max_duration_ms 16942
sample_trace_id 8628019757318599716
env production, us-west-2
tenant cupix
cluster_type latency

Affected Teams#

Team / Domain Error Count Impact
cupixworks-api (upload/state 변경 엔드포인트) 1 slow span (200) + 50+ 502 (LockWaitTimeout) 업로드 시작/완료 및 job/pano/pointcloud 상태 변경 요청이 지연되거나 실패. 클라이언트 재시도로 사용자 관점에서는 회복 가능하지만 배치 파이프라인에는 backlog 발생.

Timeline#

  1. 2026-07-11 03:15 KSTApi::V1::PanosController#update_meta_by_key, #check_tile_uploading, Api::V1::JobsController#complete_action 등에서 Mysql2::Error::TimeoutError: Lock wait timeout exceeded 가 반복 발생 (UTC 18:15Z).
  2. 2026-07-11 04:20:39 KST — 문제의 span 발생. POST /api/v1/clusters/.../resources/.../upload_url 이 16,942 ms 소요 후 200 응답 (UTC 19:20:39Z).
  3. 2026-07-11 04:23–04:37 KSTApi::V1::JobsController#update 요청 다수가 LockWaitTimeout 로 502 실패 (UTC 19:23–19:37Z).
  4. 이후 — Datadog 상에서 정상 응답 시간(수백 ms 수준)의 resource_upload_url 요청이 다시 정상적으로 처리됨.

Scoring#

Confidence 85% · Actionability 28%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 14 code refs, 8 log queries
Code path explicitness 3/3 14 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 6 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