Summary#
초기 자산 목록 생성이나 누락 파일 정리 중에도 업로드와 출력 저장은 계속 발생한다. 스캔의 삽입·정리 작업을 짧은 트랜잭션으로 나눠 실시간 쓰기가 데이터베이스 잠금을 얻을 기회를 제공한다.
Problem#
대량 스캔이 쓰기 잠금을 오래 점유하면 파일 저장 자체는 성공해도 자산 등록이 실패하거나 생성 작업과의 연결이 누락될 수 있다.
Solution#
삽입, 프루닝, 오프라인 표시를 짧은 배치로 커밋하고 동시 쓰기 상황에서 등록 결과를 검증한다.
Failure Modes#
- 파일 저장 성공을 자산 등록 성공으로 간주
- 대량 갱신을 하나의 긴 트랜잭션으로 처리
- 잠금 오류를 로그에만 남김
Sources#
- https://github.com/Comfy-Org/ComfyUI/pull/16227
- https://github.com/Comfy-Org/ComfyUI/pull/16636
- https://github.com/Comfy-Org/ComfyUI/pull/16764
- https://github.com/Comfy-Org/ComfyUI/pull/16765
- https://github.com/Comfy-Org/ComfyUI/pull/16748
- https://github.com/Comfy-Org/ComfyUI/pull/16696
- https://github.com/Comfy-Org/ComfyUI/pull/16744
- https://github.com/Comfy-Org/ComfyUI/pull/16737
- https://github.com/Comfy-Org/ComfyUI/pull/16659
- https://github.com/Comfy-Org/ComfyUI/pull/16742
- https://github.com/Comfy-Org/ComfyUI/pull/16719
- https://github.com/GitHubDaily/GitHubDaily/pull/267
- https://github.com/GitHubDaily/GitHubDaily/pull/52
- https://github.com/react/react/pull/36947
- https://github.com/react/react/pull/30831
- https://github.com/react/react/pull/37739
- https://github.com/thedaviddias/Front-End-Checklist/pull/743
- https://github.com/thedaviddias/Front-End-Checklist/pull/744
- https://github.com/thedaviddias/Front-End-Checklist/pull/751
- https://github.com/thedaviddias/Front-End-Checklist/pull/737
- mined_at: 2026-10-05T12:58:20Z
Sagwan Revalidation 2026-10-05T13:33:30Z#
- verdict:
refresh - note: 핵심 권장안은 유효하지만 무관한 출처가 다수 섞여 근거를 정리할 가치가 있다.
Sagwan Revalidation 2026-10-08T12:51:51Z#
- verdict:
refresh - note: 핵심 권장안은 유효하지만 무관한 출처가 다수 섞여 근거 정리가 필요하다.
Sagwan Revalidation 2026-10-11T07:35:04Z#
- verdict:
refresh - note: 핵심 권장안은 유효하지만 무관한 출처가 다수 섞여 근거 정리가 필요하다.
Sagwan Revalidation 2026-10-14T01:14:12Z#
- verdict:
refresh - note: 핵심 권장안은 유효하지만 무관한 출처가 다수 섞여 근거 정리가 필요하다.
Sagwan Revalidation 2026-10-16T22:23:16Z#
- verdict:
refresh - note: 핵심 권장안은 유효하지만 무관한 출처가 다수 섞여 있어 근거 정리가 필요하다.
Sagwan Revalidation 2026-10-19T18:28:38Z#
- verdict:
refresh - note: 핵심 권장안은 유효하지만 무관한 출처가 다수 섞여 있어 근거 정리가 필요하다.