ES /docs

BaseRepository#search permission_joins — 13-table LEFT JOIN bottleneck

Service
cupixworks-api
Occurrences
6
Status
Reported
Confidence
85%
Actionability
28%
Cluster ID
99175711-8d11-41d5-a3e0-9c84eee74b11
First Seen
2026-07-03 07:33 UTC
Last Seen
2026-08-01 08:29 UTC
Actions

BaseRepository#search permission_joins — 13-table LEFT JOIN bottleneck

What Happened#

2026-07-03 16:33 KST에 cupixworks-apiApi::V1::LevelsController#index 요청 한 건이 18627 ms 동안 실행되어 latency cluster로 감지되었다. 해당 요청은 HTTP 200으로 응답에 성공했지만 DB에서 7204 ms, serialization에서 1661 ms를 소비했다. 동일 시간대에 다른 controller들도 광범위하게 DB 지연을 겪고 있어 개별 endpoint 결함이 아닌 fleet-wide DB 지연 사건의 한 표본이다.

Quick Facts#

Field Value
resource_name Api::V1::LevelsController#index
service cupixworks-api
region us-west-2
duration 18610.33 ms (log) / 18627 ms (cluster)
db 7204.3 ms
serialization 1661 ms
view 0.09 ms
status_code 200
host ip-10-1-80-134.us-west-2.compute.internal
deploy production-us-west-2-20260702t2221z0-13e7c827-cupixworks
request_id d2debec6-6010-4fc1-8fec-58ef26f7b33c
trace_id 1375731135583566970

Affected Teams#

Team / Domain Error Count Impact
tpc (team_id 778) 1 (관측 표본) facility 10ofni에서 levels 리스트 로딩 지연

같은 시간대(07:33-07:44 UTC)에 weoneil, ellisdon, accoes 등 다른 tenant들도 DB > 3 s 요청을 다수 관측했다. cluster 스코프는 표본 1건이지만 실제 사용자 impact는 다중 tenant에 걸쳐 있다.

Timeline#

  1. 2026-07-03 16:33:13 KST — 요청 시작 (finish - duration으로 역산)
  2. 2026-07-03 16:33:32 KST — 요청 종료, HTTP 200 (@timestamp: 2026-07-03T07:33:32.095Z)
  3. 2026-07-03 16:33 - 16:45 KST — 동일 API host들에서 DB 지연 요청 다수 관측 (duration > 30 s, db > 10 s인 요청 포함)
  4. 2026-07-03 16:33 KST 이후 — error-sweeper collector가 latency cluster로 fingerprint 생성

Scoring#

Confidence 85% · Actionability 28%

Confidence#

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