Skip to content
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

在DCache的ZSet持久化时,遇到的两个问题 #67

Open
javalzy opened this issue Jul 6, 2021 · 1 comment
Open

在DCache的ZSet持久化时,遇到的两个问题 #67

javalzy opened this issue Jul 6, 2021 · 1 comment

Comments

@javalzy
Copy link

javalzy commented Jul 6, 2021

hi 我在DCache的ZSet的cache持久化到mysql时遇到两个问题。需要我手动改下数据库的表才可以。
这样正常吗? 是不是DCache创建数据库表时就创建好呀?

  1. 数据库表需要手动添加 sDCacheZSetScore 列。否则会报错。
  2. 数据库表的 VALUE列需要设置为主键。否则持久化时只会有一条数据(replace into ...)。

84BB70D8AC14D984C3B43E31F8246FC4

@dongdongwcpp
Copy link

是bug来的,需要修改OptServer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants