Skip to content

Commit

Permalink
fix: 오타
Browse files Browse the repository at this point in the history
  • Loading branch information
ChoiEungi committed Dec 24, 2023
1 parent 5c2861a commit 0b81882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _posts/2023-12-24-spring-redis-distributed-lock.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ categories: [Development]
### 요구사항

- 분산락이 실패하는 경우 null을 리턴하게 됩니다.
- 레디스가 장애가 발생해도 동작해야 합니다.
- 레디스 장애가 발생해도 원래 메소드는 동작해야 합니다.
- 락 내부 트랜잭션을 사용할 수 있어야 하며 락이 끝나기 전에 트랜잭션이 종료되어야 합니다. 트랜잭션이 종료되어야 하는 이유는 트랜잭션이 종료함으로 DB에 저장된 시점에 락을 해제해야 동시 호출에 대한 온전히 제어할 수 있기 때문입니다. 더 자세한 내용은 [다음 글](https://helloworld.kurly.com/blog/distributed-redisson-lock/#3-%EB%B6%84%EC%82%B0%EB%9D%BD%EC%9D%84-%EB%B3%B4%EB%8B%A4-%EC%86%90%EC%89%BD%EA%B2%8C-%EC%82%AC%EC%9A%A9%ED%95%A0-%EC%88%98%EB%8A%94-%EC%97%86%EC%9D%84%EA%B9%8C)에서 소개하고 있기에 본 글에서는 생략하겠습니다.
- 락 설정 정보를 하나의 enum으로 관리할 수 있어야 합니다.

Expand Down

0 comments on commit 0b81882

Please sign in to comment.