ES /docs

Bulk index partial failure

Service
cupixworks-worker
Occurrences
16
Status
Reported
Confidence
85%
Actionability
16%
Cluster ID
8e7b1813-b375-4066-92e8-f3ccb717f1cf
First Seen
2026-06-28 22:28 UTC
Last Seen
2026-07-22 17:08 UTC
Actions

Bulk index partial failure

What Happened#

2026-06-29 07:28 KST 경에 cupixworks-worker Sidekiq 잡이 BimRevision 레코드에 대한 Elasticsearch bulk update를 실행하다가 bim_revisions 인덱스에서 일부 문서가 존재하지 않아 document_missing_exception(404) 을 반환했다. 같은 분 안에 eu-central-1, ap-southeast-2 두 리전에서 한 번씩 발생했고, 한 배치당 total: 300failed_count: 45 (~15%) 가 실패했다. 워커는 예외를 raise하지 않고 에러 로그만 남겼기 때문에 잡은 정상 종료되었고 후속 배치는 계속 처리되었다.

Quick Facts#

Field Value
exception.class (없음 — Cupix::Logger.error 만 호출)
exception.message Bulk index partial failure
top_frame app/models/concerns/searchable.rb:232
runtime Ruby on Rails (Sidekiq worker), Elasticsearch bulk API
deploy bfdc5ebd (production-eu-central-1-20260628T2222Z0, production-ap-southeast-2-20260628T2222Z0)
env production, regions: eu-central-1, ap-southeast-2

Affected Teams#

Team / Domain Error Count Impact
cupixworks-worker / BimRevision indexing 2 (각 배치당 45건 문서 누락) Elasticsearch bim_revisions 인덱스에서 일부 BimRevision 문서가 갱신되지 않아 검색/리스팅 결과의 최신성이 떨어질 수 있음. DB 데이터는 영향 없음.

Timeline#

  1. 2026-06-29 07:22 KST — 두 리전(eu-central-1, ap-southeast-2)에 동일 빌드 bfdc5ebd 배포 완료 (Datadog 로그의 dd.version 필드 기준).
  2. 2026-06-29 07:28:47 KST — ap-southeast-2 worker: update - id: 1 - 311 로그 후 즉시 Bulk index partial failure (failed_count: 45, total: 300, IDs 1..6 등이 document_missing).
  3. 2026-06-29 07:28:49 KST — eu-central-1 worker: update - id: 1 - 300 로그 후 동일한 Bulk index partial failure (failed_count: 45, total: 300).
  4. 2026-06-29 07:28:53 KST 이후 — 같은 워커가 다음 batch (id: 312 - 611, 612 - 911, ...) 처리. 이후 partial failure 로그는 더 이상 발생하지 않음 (낮은 ID 구간에서만 실패).

Scoring#

Confidence 85% · Actionability 16%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 9 code refs, 6 log queries
Code path explicitness 3/3 9 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 18 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 0/3 migration needed