You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@linkis.apache.org by "liaotian1005 (via GitHub)" <gi...@apache.org> on 2023/02/12 11:28:09 UTC

[GitHub] [linkis] liaotian1005 opened a new pull request, #4205: Linkis manager data was cleared,when running linkis-start-all.sh script

liaotian1005 opened a new pull request, #4205:
URL: https://github.com/apache/linkis/pull/4205

   Linkis manager data was cleared,when running linkis-start-all.sh script


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org


[GitHub] [linkis] peacewong commented on a diff in pull request #4205: Linkis manager data was cleared,when running linkis-start-all.sh script

Posted by "peacewong (via GitHub)" <gi...@apache.org>.
peacewong commented on code in PR #4205:
URL: https://github.com/apache/linkis/pull/4205#discussion_r1103812947


##########
linkis-dist/package/sbin/clear-server.sh:
##########
@@ -0,0 +1,17 @@
+source ${LINKIS_HOME}/conf/db.sh
+echo 'delete from  `linkis_cg_manager_label_value_relation` where label_value_key="alias";
+delete from  `linkis_cg_manager_label_value_relation` where label_value_key="serviceName";

Review Comment:
   Should use DELETE FROM



##########
linkis-dist/package/sbin/clear-server.sh:
##########
@@ -0,0 +1,17 @@
+source ${LINKIS_HOME}/conf/db.sh
+echo 'delete from  `linkis_cg_manager_label_value_relation` where label_value_key="alias";
+delete from  `linkis_cg_manager_label_value_relation` where label_value_key="serviceName";
+delete from  `linkis_cg_manager_label_value_relation` where label_value_key="instance";
+delete from  `linkis_cg_manager_label` where label_key="engineInstance" or label_key="emInstance";
+
+DELETE FROM  `linkis_cg_manager_label_service_instance`;
+DELETE FROM  `linkis_cg_manager_linkis_resources`;
+DELETE FROM  `linkis_cg_manager_service_instance_metrics`;
+DELETE FROM  `linkis_cg_manager_lock` ;
+DELETE FROM  `linkis_cg_manager_label_resource`;
+DELETE FROM  `linkis_cg_manager_service_instance`;
+DELETE FROM  `linkis_cg_manager_service_instance_metrics`;

Review Comment:
   duplicate linkis_cg_manager_service_instance_metrics



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org


[GitHub] [linkis] peacewong merged pull request #4205: Linkis manager data was cleared,when running linkis-start-all.sh script

Posted by "peacewong (via GitHub)" <gi...@apache.org>.
peacewong merged PR #4205:
URL: https://github.com/apache/linkis/pull/4205


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org