You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by he...@apache.org on 2022/04/27 03:28:09 UTC
[incubator-inlong] branch master updated: [INLONG-3951][Manager] Unique index error for cluster_name in SQL file (#3964)
This is an automated email from the ASF dual-hosted git repository.
healchow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-inlong.git
The following commit(s) were added to refs/heads/master by this push:
new aa1b827ca [INLONG-3951][Manager] Unique index error for cluster_name in SQL file (#3964)
aa1b827ca is described below
commit aa1b827ca2810e16baefdc8af4b7a5f46cb402dd
Author: healchow <he...@gmail.com>
AuthorDate: Wed Apr 27 11:28:05 2022 +0800
[INLONG-3951][Manager] Unique index error for cluster_name in SQL file (#3964)
---
inlong-manager/manager-web/sql/apache_inlong_manager.sql | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/inlong-manager/manager-web/sql/apache_inlong_manager.sql b/inlong-manager/manager-web/sql/apache_inlong_manager.sql
index 7d652572a..138d0f68b 100644
--- a/inlong-manager/manager-web/sql/apache_inlong_manager.sql
+++ b/inlong-manager/manager-web/sql/apache_inlong_manager.sql
@@ -149,7 +149,7 @@ CREATE TABLE `inlong_cluster_node`
`create_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Create time',
`modify_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Modify time',
PRIMARY KEY (`id`),
- UNIQUE KEY `unique_cluster_node` (`cluster_name`, `type`, `ip`, `port`, `is_deleted`)
+ UNIQUE KEY `unique_cluster_node` (`parent_id`, `type`, `ip`, `port`, `is_deleted`)
) ENGINE = InnoDB
DEFAULT CHARSET = utf8mb4 COMMENT ='Inlong cluster node table';