-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Consul to implement Distributed Lock API #129
Comments
@ZLBer hi,please reply here and then i can assign it to you |
@seeflood |
@seeflood
|
@seeflood |
"client断开,lock在sidecar端还会不断进性renew,导致锁不能释放。" 方案2对粗粒度锁稍微好一些(前提是调研清楚,consul对session ttl传入的值有没有限制,会不会限制不让传太大) |
这个在内存里维护一个session池即可(即维护一个map)
这个要查一下了 我搜下 你也可以先查下文档 |
@ZLBer 我查了下consul有check-and-set和Transactions功能,看下这个能用不 |
@seeflood |
This issue has been automatically marked as stale because it has not had recent activity in the last 30 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue or help wanted) or other activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as pinned, good first issue or help wanted. Thank you for your contributions. |
What would you like to be added:
Use Consul to implement Distributed Lock API
Why is this needed:
see #104
The text was updated successfully, but these errors were encountered: