Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 168 Bytes

distributed_lock.rst

File metadata and controls

10 lines (7 loc) · 168 Bytes

分布式锁

锁冲突处理

  • 直接抛出异常,通知用户;
  • sleep 一会再重试;
  • 将请求移至延时队列,过一会再试;