-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
pikiwidb自身配置的缓存失效 #3014
Comments
Title: = The cache configured by pikiwidb itself is invalid |
info cache 命令可以提供一下吗,看下具体的情况,需要一个复现步骤 |
Can the info cache command be provided? To see the specific situation, a reproduction step is required |
复现步骤:
|
I tried this problem locally. The reason is that RTC has been added in version 4.0.2. In principle, the redis-cache function is used but no metrics are counted. Currently, RTC supports limited commands, and you can cooperate with MSET and MGET commands Test the redis-cache function. My test here is OK, but we will fix the errors in statistics you mentioned later. The Redis-cahce function is still normal. |
本地复现出现了这个问题,原因是 get 命令更新 Cache 的时候给 Key 设置了一个过期时间,导致查询的时候一直 Get 不到 Cache 里面的数据,目前正在修复中,在对其他的命令是否有相同的问题进行排查 |
This problem occurred in local reproduction. The reason is that when the get command updates the cache, it sets an expiration time for the Key, which causes the data in the cache to be not available during the query. It is currently being repaired. Is there any same thing for other commands? Troubleshooting issues |
Is this a regression?
Yes
Description
下面配置文件里面配置的缓存, 在4.0.0版本是生效的, 在4.0.2-alpha版本中,失效了。
使用info cache命令查看缓存信息,以及查看进程实际的内存占用(只有table-reader、memtable的占用),都没有生效。
Please provide a link to a minimal reproduction of the bug
No response
Screenshots or videos
No response
Please provide the version you discovered this bug in (check about page for version information)
Anything else?
No response
The text was updated successfully, but these errors were encountered: