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

bitop cache update bug #2231

Closed
panlei-coder opened this issue Dec 21, 2023 · 0 comments
Closed

bitop cache update bug #2231

panlei-coder opened this issue Dec 21, 2023 · 0 comments
Labels
☢️ Bug Something isn't working

Comments

@panlei-coder
Copy link
Contributor

panlei-coder commented Dec 21, 2023

1、在执行完"bitop and a c e"操作之后,更新缓存时使用的是PCacheKeyPrefixB前缀,但是使用get操作获取键a的值时,用的是PCacheKeyPrefixK前缀,bitop操作更新缓存存在bug;
pikiwidb(原pika):
屏幕截图 2023-12-21 184706
redis:
屏幕截图 2023-12-21 184844
2、bitop操作感觉是不需要走缓存的,在bitop命令实现的时候也没有重载ReadCache方法,但是在添加命令的时候加了kCmdFlagsReadCache标记,感觉可以去掉。
屏幕截图 2023-12-21 184925

@panlei-coder panlei-coder added the ☢️ Bug Something isn't working label Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
☢️ Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants