From 6945e809765b7f174e4f47a661c93e207f84e08b Mon Sep 17 00:00:00 2001 From: jiangzhaoheng Date: Mon, 14 Aug 2023 17:34:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=97=ADustore=E5=BC=95=E6=93=8E?= =?UTF-8?q?=E5=90=8E=EF=BC=8C=E5=88=86=E9=85=8Dxid=E4=B8=8D=E5=86=8D?= =?UTF-8?q?=E5=88=86=E9=85=8Dundozone?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gausskernel/storage/access/ustore/undo/knl_uundoapi.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gausskernel/storage/access/ustore/undo/knl_uundoapi.cpp b/src/gausskernel/storage/access/ustore/undo/knl_uundoapi.cpp index bb72f6e27..b36a67921 100644 --- a/src/gausskernel/storage/access/ustore/undo/knl_uundoapi.cpp +++ b/src/gausskernel/storage/access/ustore/undo/knl_uundoapi.cpp @@ -647,6 +647,9 @@ void RecoveryUndoSystemMeta(void) void AllocateUndoZone() { #ifndef ENABLE_MULTIPLE_NODES + if (!g_instance.attr.attr_storage.enable_ustore) { + return; + } AllocateZonesBeforXid(); #endif }