Describe the bug

A short description of the bug.

To reproduce

Steps to reproduce the behavior and/or a minimal code sample.

Expected behavior

A description of what you expected to happen.

Additional information

Any additional information that is relevant to the problem.

Comment From: 18397407270

我试了6和7的版本,RDB或者AOF都存在这种问题

Comment From: sundb

@18397407270 Please use English to describe your issue, and can you give more info or reproduction steps?

Comment From: 18397407270

@18397407270 Please use English to describe your issue, and can you give more info or reproduction steps?

redis Recover Data automatically sets an expiration time for some keys that do not have an expiration time, and the name of the key begins with login_tokens:

Comment From: sundb

@18397407270 How did you recover the data? Or did you use some third-party tools?

Comment From: 18397407270

@18397407270 Please use English to describe your issue, and can you give more info or reproduction steps?

First I saved a key with no expiration time, using the set key value, then persisted with RDB, and then restarted the redis, and found that the key was set by redis to expire,RedisinSight was used

Comment From: sundb

Can you repeat your steps, and before restarting redis, try redis-cli info Commandstats to output info. Normally, redis does not actively add expiration times to keys.

Comment From: 18397407270

屏幕截图 2022-07-02 154604

Comment From: 18397407270

Use this pattern to add data

Comment From: 18397407270

Can you repeat your steps, and before restarting redis, try redis-cli info Commandstats to output info. Normally, redis does not actively add expiration times to keys. I'll go to cli to reproduce it and see if that's the problem

Comment From: 18397407270

Can you repeat your steps, and before restarting redis, try redis-cli info Commandstats to output info. Normally, redis does not actively add expiration times to keys.

I found that this is the case with the big Value

Comment From: 18397407270

Narrowing down the contents of the Value won't appear

Comment From: 18397407270

Sorry, it's not the problem, but my project has a thread that has set an expiration time for it