mycat 插入语句导致的一个Dobbo问题

时间:2023-12-17 10:04:08

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');