From c843c345beebd16f710fc1b5f8f06e98a056c034 Mon Sep 17 00:00:00 2001 From: zhaobingyu <1783692558@qq.com> Date: Fri, 30 Dec 2022 15:56:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9issue:=20pg=5Fresetxlog?= =?UTF-8?q?=E5=B7=A5=E5=85=B7=E8=AE=BE=E7=BD=AExlog=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=90=8D=E4=B8=8D=E6=AD=A3=E7=A1=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/bin/pg_resetxlog/pg_resetxlog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/pg_resetxlog/pg_resetxlog.cpp b/src/bin/pg_resetxlog/pg_resetxlog.cpp index b8736e93b..77bafd0cb 100644 --- a/src/bin/pg_resetxlog/pg_resetxlog.cpp +++ b/src/bin/pg_resetxlog/pg_resetxlog.cpp @@ -425,13 +425,13 @@ static void DssInit(void) dss.socketpath = NULL; dss.vgname = NULL; dss.primaryInstId = INVALID_INSTANCEID; + XLogSegmentSize = DSS_XLOG_SEG_SIZE; } static void SetGlobalDssParam(void) { errno_t rc = strcpy_s(g_datadir.dss_data, strlen(dss.vgname) + 1, dss.vgname); securec_check_c(rc, "\0", "\0"); - XLogSegmentSize = DSS_XLOG_SEG_SIZE; } /*