1. 适配cbb/dms/dss cm_res_get_stat接口变更

2. ss_log_max_file_size参数变更时size单位需要乘上1024
3. 适配dms_api.h版本号变更
This commit is contained in:
peibaoyi 2023-02-07 19:47:08 +08:00
parent 39a27de267
commit 5091b95a60
3 changed files with 5 additions and 4 deletions

View File

@ -5993,7 +5993,7 @@ static void assign_ss_log_max_file_size(int newval, void *extra)
{
g_instance.attr.attr_storage.dms_attr.sslog_max_file_size = newval;
if (t_thrd.proc_cxt.MyProcPid == PostmasterPid) {
unsigned long long val = (unsigned long long)newval;
unsigned long long val = (unsigned long long)newval * 1024;
if (ENABLE_DMS) {
DMSRefreshLogger("LOG_MAX_FILE_SIZE", &val);
}

View File

@ -1,2 +1,2 @@
dms_commit_id=84ccd2b17f411e96119b4d02644647e45e082789
dss_commit_id=5cbcec9ce4b88f85a83d229a118d31db6ed1fea2
dms_commit_id=9bbe1c8b87d64f81201f91b7198dd16e03c99d2a
dss_commit_id=7f714909f4477564cd44fc307af780b24daf55d4

View File

@ -736,6 +736,7 @@ typedef struct st_dms_profile {
unsigned short mfc_max_wait_ticket_time; // max time to wait for ticket while sending a message
unsigned int page_size;
unsigned long long recv_msg_buf_size;
unsigned int log_level;
dms_conn_mode_t pipe_type; // Inter-instance communication mode. Currently, only TCP and RDMA are supported.
unsigned int inst_cnt; // Number of cluster instances
@ -783,7 +784,7 @@ typedef struct st_logger_param {
#define DMS_LOCAL_MINOR_VER_WEIGHT 1000
#define DMS_LOCAL_MAJOR_VERSION 0
#define DMS_LOCAL_MINOR_VERSION 0
#define DMS_LOCAL_VERSION 46
#define DMS_LOCAL_VERSION 47
#ifdef __cplusplus
}