From b1ef7cf3614111257e0d8870aba15a56dbabf4d5 Mon Sep 17 00:00:00 2001 From: PanternBao <838800176@qq.com> Date: Wed, 18 Nov 2026 15:42:43 +0800 Subject: [PATCH] fix: preserve omitted delay database in db group config --- .../dble/services/manager/information/tables/DbleDbGroup.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/actiontech/dble/services/manager/information/tables/DbleDbGroup.java b/src/main/java/com/actiontech/dble/services/manager/information/tables/DbleDbGroup.java index 9f1648e9b..9746c17ee 100644 --- a/src/main/java/com/actiontech/dble/services/manager/information/tables/DbleDbGroup.java +++ b/src/main/java/com/actiontech/dble/services/manager/information/tables/DbleDbGroup.java @@ -210,7 +210,8 @@ public DBGroup transformRowToDBGroup(LinkedHashMap values) { dbGroup.setDelayPeriodMillis(Integer.parseInt(value)); break; case DELAY_DATABASE: - dbGroup.setDelayDatabase(String.valueOf(value)); + // Omit an unconfigured attribute: an empty value is invalid for NMTOKEN in db.dtd. + dbGroup.setDelayDatabase(StringUtil.isEmpty(value) ? null : value); break; case COLUMN_DISABLE_HA: dbGroup.setDisableHA(value);