Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

带过期时间key丢失 #72

Open
yifan02 opened this issue Jan 18, 2021 · 0 comments
Open

带过期时间key丢失 #72

yifan02 opened this issue Jan 18, 2021 · 0 comments

Comments

@yifan02
Copy link

yifan02 commented Jan 18, 2021

我看了redis-port代码,觉得在迁移时候逻辑有点问题,先发送rdb文件,然后发送aof 文件,因为解析发送rdb 文件和后续发送aof有一定的时间差,例如在rdb 文件中 key A 过期时间是10s,aof 文件中对 key A 增加过期时间到 1000s,则可能 A 发送到目的端redis后,在还没有收到aof 文件增加过期时间的命令时,就已经被目的端删除了

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

No branches or pull requests

1 participant