From 00afbc56fc0e02b8e64c5fb99917f58a84798b72 Mon Sep 17 00:00:00 2001 From: PragmaTwice Date: Thu, 23 Mar 2023 11:39:11 +0800 Subject: [PATCH] fix --- src/storage/redis_db.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/storage/redis_db.cc b/src/storage/redis_db.cc index 86e0f96ae16..c347caa485f 100644 --- a/src/storage/redis_db.cc +++ b/src/storage/redis_db.cc @@ -404,8 +404,12 @@ rocksdb::Status Database::Dump(const Slice &user_key, std::vector * infos->emplace_back(std::to_string(metadata.version)); infos->emplace_back("expire"); infos->emplace_back(std::to_string(Metadata::ExpireMsToS(metadata.expire))); + infos->emplace_back("pexpire"); + infos->emplace_back(std::to_string(metadata.expire)); infos->emplace_back("size"); infos->emplace_back(std::to_string(metadata.size)); + infos->emplace_back("is_64bit_common_field"); + infos->emplace_back(std::to_string(metadata.Is64BitEncoded())); infos->emplace_back("created_at"); struct timeval created_at = metadata.Time();