SavePartialJsonToFileWorker logs normal race condition as error
Service
cupixworks-worker
Occurrences
10
Status
Reported
Confidence
80%
Actionability
28%
Cluster ID
b132fc1f-063d-4a67-8553-6af20f665590
First Seen
2026-07-09 22:41 UTC
Last Seen
2026-07-13 16:14 UTC
Actions
SavePartialJsonToFileWorker logs normal race condition as error
What Happened#
2026-07-10 07:41–07:42 KST 사이 cupixworks-worker 의 SavePartialJsonToFileWorker 가 Bookmark 8건 (id 4738–4745) 에 대해 "not found after 6 retries" 로 실패했다. 해당 Bookmark 들은 생성 후 수 분 내 destroy 된 뒤 워커 실행 시점에는 이미 DB 에서 사라진 상태였다. 이 실패는 DWH partial JSON 파일 생성만 유실시키며, 사용자 요청 경로는 영향을 받지 않는다.
Quick Facts#
| Field | Value |
|---|---|
| exception.class | (no exception — logged via Cupix::Logger.error) |
| exception.message | Bookmark with id 4738 not found after 6 retries |
| top_frame | app/workers/save_partial_json_to_file_worker.rb:57 |
| env | production, us-west-2 |
Affected Teams#
| Team / Domain | Error Count | Impact |
|---|---|---|
| cupixworks-worker (DWH CDC) | 8 | Bookmark 8건의 partial JSON 이 S3/데이터 웨어하우스로 전송되지 못함. 사용자 기능은 영향 없음 |
Timeline#
- 2026-07-10 05:35 KST — API 에서 Bookmark id 4738 생성 (
Cachable::ReviewLoad | Invalidated facility review cache on create | model=Bookmark | model_id=4738 | facility_id=19481).after_commit :save_partial_json_to_file_as_created콜백이SavePartialJsonToFileWorker.perform_async('Bookmark', 4738, ...)를 enqueue. - 2026-07-10 05:41 KST — 같은 Bookmark id 4738 destroy (
Cachable::ReviewLoad | Invalidated facility review cache on destroy | model=Bookmark | model_id=4738 | facility_id=19481). 생성 후 약 6분 만에 삭제됨. - 2026-07-10 07:40 KST — 워커가 enqueue 된 지 약 2시간 뒤에 처음 실행 (
Retry 1 - Bookmark with id 4738 not found, retrying in 0.1 seconds). exponential backoff 로 6회 재시도 (0.1+0.2+0.4+0.8+1.6+3.2 ≈ 6.3s). - 2026-07-10 07:41 KST —
Bookmark with id 4738 not found after 6 retries로그와 함께 워커가false리턴하며 종료. 이후 4739~4745 에 대해 동일 실패가 07:42 KST 까지 연달아 발생.
Scoring#
Confidence 80% · Actionability 28%
Confidence#
| Dimension | Score | Detail |
|---|---|---|
| Evidence completeness | 5/5 | 9 code refs, 8 log queries |
| Code path explicitness | 3/3 | 9 file:line refs |
| Log evidence | 2/3 | section, query |
| 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 | 25 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 |