ES /docs

Elasticsearch::Transport::Transport::Errors::NotFound: [404] {"error":{"root_cause":[{"type":"document_missing_exception

Service
cupixworks-elasticsearch
Occurrences
18,231
Status
Ignored
Confidence
85%
Actionability
44%
Cluster ID
c67607e6-a854-4e2a-ade1-4987416a5eef
First Seen
2023-09-12 09:27 UTC
Last Seen
2026-08-05 00:07 UTC
Actions
현재 상태 ignored 에서는 실행할 액션이 없습니다.

Elasticsearch::Transport::Transport::Errors::NotFound: [404] {"error":{"root_cause":[{"type":"document_missing_exception

What Happened#

tesla (cupixworks-api / cupixworks-worker)의 Searchable concern이 레코드 update 시점에 Elasticsearch _update 요청을 보내는데, 대상 문서가 아직 색인되지 않은 상태라 ES가 [404] document_missing_exception을 반환한다. 이 실패한 client.update HTTP 요청이 cupixworks-elasticsearch APM instrumentation span에 error로 태깅되어 Error Tracking 이슈로 집계된다. 다만 애플리케이션 코드는 이 예외를 명시적으로 rescue 하여 warn 로그를 남기고 _index_document로 문서를 재색인하므로, 사용자에게 노출되는 실패나 데이터 유실은 없다.

Quick Facts#

Field Value
exception.class Elasticsearch::Transport::Transport::Errors::NotFound
exception.message [404] {"error":{"root_cause":[{"type":"document_missing_exception", ...}]}}
top_frame app/models/concerns/searchable.rb:94 (client.update)
runtime Ruby / Rails (elasticsearch-transport 7.5.0, faraday 0.17.5 + patron)
env production

Affected Teams#

Team / Domain Error Count Impact
tesla (search indexing) 18281 (16개월 누적) 없음 — rescue 후 자동 재색인, 사용자 무영향

Timeline#

  1. 2023-09-12 18:27 KST — 최초 발생 (Representative sample: editing_entities index, _doc][23575]).
  2. 2026-08-03 21:07 KST — 최근 발생 (Cupix::Cron::Integration, index cupix-cron-integrations).
  3. 2026-08-04 14:08 KST — last_seen (Workarea, index workareas, _doc][139962]).
  4. 2026-08-04 — RCA 수행. Representative가 STALE임을 확인 (현재는 editing_entities가 아닌 elements/workareas/cupix-cron-integrations 등 다양한 index에서 발생).

Scoring#

Confidence 85% · Actionability 44%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 12 code refs, 5 log queries
Code path explicitness 3/3 12 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 5/5 trivial
Affected files 1/5 9 file(s)
Single repo 1/3 3 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