데이터베이스 deadlock 해결 후기
안녕하세요, 휴먼스케이프에서 주로 서버 개발을 하고 있는 James입니다.
문제 발생
서비스 운영을 하는 과정에서 가끔씩은(…) 에러가 발생하는데요, 그럴 때마다 Slack의 에러 모니터링 채널에 메시지가 올라옵니다.
어느 한 즐거운 월요일에 아래와 같은 메시지가 올라왔는데, 내용을 열어서 보니 다른 쿼리들과 transaction으로 묶여 있지 않은 단일 UPDATE
에서…
These were the top 10 stories published by None in 2021. You can also dive into monthly archives for 2021 by using the calendar at the top of this page.