当前位置:网站首页>The reisson distributed lock renewal failed due to network reasons, resulting in the automatic release of the lock when the business is still executing but the lock is not renewed.
The reisson distributed lock renewal failed due to network reasons, resulting in the automatic release of the lock when the business is still executing but the lock is not renewed.
2022-07-25 21:55:00 【CSDN Q & A】
redisson The distributed lock renewal failed due to network reasons , As a result, the business is still executing but the lock fails , How to solve this situation ? **
**
I used distributed locks in a business , After obtaining the lock successfully , Because the current thread is still executing business , But the watchdog renewal failed , In this case, my business is still executing , But the lock is not renewed , Finally, the cache time is automatically released , This leads to dirty reading of business data .
Do you have any guidance on similar problems ?
边栏推荐
- MPI学习笔记(二):矩阵相乘的两种实现方法
- FAW red flag "King fried" is listed, which is safe and comfortable
- How will Web3 change the future of people?
- Creation and destruction of function stack frames
- 动画曲线天天用,你能自己整一个吗?看完这篇你就会了!
- Composition of dog food
- [redis underlying parsing] linked list type
- 如何用 Redis 实现分布式锁的?
- Shopify sellers: share some tips for social media marketing!
- 卸载npm和安装npm_使用`npm uninstall`卸载npm软件包「建议收藏」
猜你喜欢

Jmeter---设置代理录制请求

Open source RSS subscriber freshrss
![[leetcode ladder] linked list · 021 merge two ordered linked lists](/img/72/d3e46a820796a48b458cd2d0a18f8f.png)
[leetcode ladder] linked list · 021 merge two ordered linked lists

新版Maixhub部署(V831与K210)

ORIGYN基金会正式启动$OGY Staking,引领新一轮生态利好

【饭谈】如何设计好一款测试平台?

Ijcai2022 meeting! Microsoft and other tutorials on domain generalization
![[hand tear STL] BitSet (bitmap), bloom filter](/img/bc/a6e3c2ccce478460a2742852eee9cf.png)
[hand tear STL] BitSet (bitmap), bloom filter

How to implement distributed locks with redis?

【Redis底层解析】字符串类型
随机推荐
[JS] the problem pointed by this
【饭谈】细说:下克上,向上管理,向上画饼。
如何用 Redis 实现分布式锁的?
Detailed explanation of several ideas for implementing timed tasks in PHP
Mouseevent event -- mouse coordinate description -- Focus event -- input event -- throttle -- mousewheel (wheel event)
ansible+Crontab批部署巡检
How to solve the problem of using the download Plug-in for export?
Idea resolves the prompt of profile properties disappear
Redis master-slave architecture lock failure problem (master-slave)
Come again
Redisv6.0为何引入多线程?
GPON介绍及华为OLT网关注册配置流程
2022-07-18: what is the output of the following go language code? A:Groutine; B:Main; C:Goroutine; D:GoroutineMain。 package m
Tesseract OCR初探
How will Web3 change the future of people?
Jmeter---设置代理录制请求
若依如何解决导出使用下载插件出现异常?
【面试:并发篇25:多线程:volatile】可见性
C common set
Creation and destruction of function stack frames