[CP][FEAT MERGE] implement of log storage compression

This commit is contained in:
yyy-hust
2024-04-07 06:45:18 +00:00
committed by ob-robot
parent e007f676a5
commit 784d2231f6
50 changed files with 1173 additions and 284 deletions

View File

@ -30,6 +30,7 @@ enum class LogFormatFlag
FILTER_FORMAT = 2,
STAT_FORMAT = 3,
META_FORMAT = 4,
DECOMPRESS_FORMAT = 5,
};
class ObAdminLogDumperInterface
@ -169,11 +170,14 @@ public:
void reset();
void reset_buf();
ObAdminMutatorStringArg &operator= (const ObAdminMutatorStringArg &rhs);
TO_STRING_KV(KP_(buf), K_(buf_len), K_(pos), K(flag_), K(filter_),
TO_STRING_KV(KP_(buf), K_(buf_len), KP(decompress_buf_), K(decompress_buf_len_), K_(pos), K(flag_), K(filter_),
KPC(log_stat_));
public:
char *buf_;
int64_t buf_len_;
char *decompress_buf_;
int64_t decompress_buf_len_;
int64_t pos_;
LogFormatFlag flag_;
// int64_t tx_id_;