We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Redis AOF 核心原理已协议文本方式记录数据库写入命令。
假如以下场景:
A
由于 AOF 恢复的机制是回放命令,导致恢复后的 key A 的过期时间重置为相对当前时间之后的 30 秒。 如果 redis 服务并没有异常关闭,key A 理应早已过期。
相对当前时间
另,RDB 恢复不会有如上类似的问题。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Redis AOF 核心原理已协议文本方式记录数据库写入命令。
假如以下场景:
A
过期时间为 30秒;A
还有 15 秒过期;由于 AOF 恢复的机制是回放命令,导致恢复后的 key
A
的过期时间重置为相对当前时间
之后的 30 秒。如果 redis 服务并没有异常关闭,key
A
理应早已过期。另,RDB 恢复不会有如上类似的问题。
The text was updated successfully, but these errors were encountered: