Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix RESTORE to create a key without expire under the same ms (#1705)
I am unable to reproduce it, but if the ttl_ms (absttl) passed in happens to be in the same ms as GetTimeStampMS, the `ttl_ms < now` will be false and `ttl_ms -= now` will make ttl_ms become 0 and then we will create a key without any expire. It is off by one bug.
- Loading branch information