From a8784c8ab43c0e7bd28505400ac5b440c08480d2 Mon Sep 17 00:00:00 2001 From: dongning12 Date: Mon, 25 Sep 2023 21:29:05 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E8=B5=84=E6=BA=90=E6=B1=A0=E5=8C=96?= =?UTF-8?q?=E3=80=91=E5=90=8C=E6=AD=A5DMS=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gausskernel/ddes/ddes_commit_id | 2 +- src/include/ddes/dms/dms_api.h | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/gausskernel/ddes/ddes_commit_id b/src/gausskernel/ddes/ddes_commit_id index fb48bf880..b3764787f 100644 --- a/src/gausskernel/ddes/ddes_commit_id +++ b/src/gausskernel/ddes/ddes_commit_id @@ -1,3 +1,3 @@ -dms_commit_id=a6c2fef3b8c08c11e4cee1adcacafabdf3b2f56b +dms_commit_id=f550952d5acd745d53f07bfac2edcd8c87e1e897 dss_commit_id=13bb5ba33820961455093f838977c54ba0867f28 cbb_commit_id=a7f55f6371988695578304bfbd3450f6f31c6630 \ No newline at end of file diff --git a/src/include/ddes/dms/dms_api.h b/src/include/ddes/dms/dms_api.h index 88cb535a7..74dfc19e1 100644 --- a/src/include/ddes/dms/dms_api.h +++ b/src/include/ddes/dms/dms_api.h @@ -685,6 +685,7 @@ typedef void (*dms_clean_ctrl_edp)(void *db_handle, dms_buf_ctrl_t *dms_ctrl); typedef char *(*dms_display_pageid)(char *display_buf, unsigned int count, char *pageid); typedef char *(*dms_display_xid)(char *display_buf, unsigned int count, char *xid); typedef char *(*dms_display_rowid)(char *display_buf, unsigned int count, char *rowid); +typedef int (*dms_check_session_invalid)(unsigned int sid); typedef int (*dms_drc_buf_res_rebuild)(void *db_handle); typedef int (*dms_drc_buf_res_rebuild_parallel)(void *db_handle, unsigned char thread_index, unsigned char thread_num); typedef int(*dms_ctl_rcy_clean_parallel_t)(void *db_handle, unsigned char thread_index, unsigned char thread_num); @@ -847,6 +848,7 @@ typedef struct st_dms_callback { dms_display_pageid display_pageid; dms_display_xid display_xid; dms_display_rowid display_rowid; + dms_check_session_invalid check_session_invalid; // for smon deadlock check dms_get_sid_by_rmid get_sid_by_rmid; @@ -883,6 +885,7 @@ typedef struct st_dms_callback { //for shared storage backup dms_set_inst_behavior set_inst_behavior; dms_db_prepare db_prepare; + dms_get_buf_info get_buf_info; } dms_callback_t; @@ -967,7 +970,7 @@ typedef enum st_dms_protocol_version { #define DMS_LOCAL_MINOR_VER_WEIGHT 1000 #define DMS_LOCAL_MAJOR_VERSION 0 #define DMS_LOCAL_MINOR_VERSION 0 -#define DMS_LOCAL_VERSION 94 +#define DMS_LOCAL_VERSION 95 #ifdef __cplusplus }