mycat 插入语句导致的一个Dobbo问题
Posted 梦想空间
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mycat 插入语句导致的一个Dobbo问题相关的知识,希望对你有一定的参考价值。
2017-01-03 11:11:52.621 [com.alib] (): [DUBBO] Send heartbeat to remote channel /121.43.177.8:20192, cause: The channel has no data-transmission exceeds a heartbeat period: 60000ms, dubbo version: 2.5.3, current host: 192.168.10.68
DEBUG 2017-01-03 11:11:52.643 [com.alib] (): [DUBBO] Receive heartbeat response in thread New I/O client worker #1-1, dubbo version: 2.5.3, current host: 192.168.10.68
DEBUG
原因:"/*"前多了一个换行符活着空格:
/*!mycat:catlet=demo.catlets.BatchInsertSequence */INSERT INTO `t_taobao_record` (`BaseInfoId`, `UserId`, `Title`, `Amount`, `TradeNo`, `TradeTime`, `TradeStatus`, `TradeType`, `TxTypeId`, `BehaviorLableId`, `TradeDetailUrl`, `OtherSide`, `OtherSideAccount`, `OtherSideName`, `Status`, `CreateDate`, `LastUpdateDate`)
VALUES
(10200015,2001999238, ‘test‘, -9.90, ‘2016101321001001000266267751‘, ‘2016-10-13 08:34:00‘, 601, 101, 53, NULL, ‘‘, ‘耐威克官方旗舰店‘, ‘18006789552‘, ‘test1‘, 1, ‘2016-11-21 11:39:10‘, ‘2016-11-21 11:39:24‘),
(10200015,2001999238, ‘test‘, -9.90, ‘2016101321001001000266267752‘, ‘2016-10-13 08:34:00‘, 601, 101, 53, NULL, ‘‘, ‘耐威克官方旗舰店‘, ‘18006789551‘, ‘test1‘, 1, ‘2016-11-21 11:39:10‘, ‘2016-11-21 11:39:24‘),
(10200015,2001999238, ‘test‘, -9.90, ‘2016101321001001000266267753‘, ‘2016-10-13 08:34:00‘, 601, 101, 53, NULL, ‘‘, ‘耐威克官方旗舰店‘, ‘18006789553‘, ‘test1‘, 1, ‘2016-11-21 11:39:10‘, ‘2016-11-21 11:39:24‘),
(10200015,2001999238, ‘test‘, -9.90, ‘2016101321001001000266267750‘, ‘2016-10-13 08:34:00‘, 601, 101, 53, NULL, ‘‘, ‘耐威克官方旗舰店‘, ‘18006789554‘, ‘test1‘, 1, ‘2016-11-21 11:39:10‘, ‘2016-11-21 11:39:24‘),
(10200015,2001999238, ‘test‘, -9.90, ‘2016101321001001000266267752‘, ‘2016-10-13 08:34:00‘, 601, 101, 53, NULL, ‘‘, ‘耐威克官方旗舰店‘, ‘18006789557‘, ‘test1‘, 0, ‘2016-11-21 11:39:10‘, ‘2016-11-21 11:39:24‘),
(10200015,2001999238, ‘test‘, -9.90, ‘2016101321001001000266267751‘, ‘2016-10-13 08:34:00‘, 601, 101, 53, NULL, ‘‘, ‘耐威克官方旗舰店‘, ‘18006789555‘, ‘test1‘, 1, ‘2016-11-21 11:39:10‘, ‘2016-11-21 11:39:24‘);
以上是关于mycat 插入语句导致的一个Dobbo问题的主要内容,如果未能解决你的问题,请参考以下文章