GBase 8a
适配迁移
文章

express 日志中部分信息解释

发表于2023-04-23 15:58:0726次浏览0个评论

问题描述:

express.log 记录 SQL执行过程以及执行过程中的警告和错误;本篇对express 日志中部分信息进行解释

 

解决方案:

错误代码1:There's no need to commit in local connection.

这个警告是因为没有数据进行 commit。如:set autocommit=0; commit; 就会有以上警告。

错误代码2:

Can't ping the node, the socket is shutdown and the conn is deleted. Host:172.172.172.29; DB: xjdm. 

Cause: GBase server has gone away

套接字或者链接断了,原因是可能 29 节点的 gbase宕机,也有可能 29 节点的网络断掉,要查看 29 节点的 gnode 层的 system 日志。

评论已关闭