diff options
author | Wang Yuan <wangyuan21@baidu.com> | 2021-10-25 18:08:34 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-25 13:08:34 +0300 |
commit | 9ec3294b97211fca206ade1c2d99ccfc762f5a73 (patch) | |
tree | 00e4d54b25211796c144cdf97302a6ca2ccc08b8 /CONDUCT | |
parent | 085615af97c658530153e0040b35d8e65a384379 (diff) | |
download | redis-9ec3294b97211fca206ade1c2d99ccfc762f5a73.tar.gz |
Add timestamp annotations in AOF (#9326)
Add timestamp annotation in AOF, one part of #9325.
Enabled with the new `aof-timestamp-enabled` config option.
Timestamp annotation format is "#TS:${timestamp}\r\n"."
TS" is short of timestamp and this method could save extra bytes in AOF.
We can use timestamp annotation for some special functions.
- know the executing time of commands
- restore data to a specific point-in-time (by using redis-check-rdb to truncate the file)
Diffstat (limited to 'CONDUCT')
0 files changed, 0 insertions, 0 deletions