任务执行日志、调度日志字段类型调整,改为text类型并取消字数限制;

This commit is contained in:
xuxueli 2018-09-24 00:39:19 +08:00
parent e8640f5f32
commit 6b7608efe8
3 changed files with 4 additions and 10 deletions

View File

@ -1290,6 +1290,7 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
- 34、任务属性枚举 "任务模式、阻塞策略" 国际化优化;
- 35、分片任务失败重试优化仅重试当前失败的分片
- 36、任务触发时支持动态传参调度中心与API服务均提供提供动态参数功能
- 37、任务执行日志、调度日志字段类型调整改为text类型并取消字数限制
### TODO LIST
@ -1314,6 +1315,7 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
- 19、SimpleTrigger 支持;
- 20、Release发布时一同发布调度中心安装包真正实现开箱即用
- 21、Cron TimeZone 自定义;
- 22、忙碌转移优化全部机器忙碌时不再直接失败
## 七、其他

View File

@ -183,10 +183,10 @@ CREATE TABLE `XXL_JOB_QRTZ_TRIGGER_LOG` (
`executor_fail_retry_count` int(11) NOT NULL DEFAULT '0' COMMENT '失败重试次数',
`trigger_time` datetime DEFAULT NULL COMMENT '调度-时间',
`trigger_code` int(11) NOT NULL COMMENT '调度-结果',
`trigger_msg` varchar(2048) DEFAULT NULL COMMENT '调度-日志',
`trigger_msg` text COMMENT '调度-日志',
`handle_time` datetime DEFAULT NULL COMMENT '执行-时间',
`handle_code` int(11) NOT NULL COMMENT '执行-状态',
`handle_msg` varchar(2048) DEFAULT NULL COMMENT '执行-日志',
`handle_msg` text COMMENT '执行-日志',
PRIMARY KEY (`id`),
KEY `I_trigger_time` (`trigger_time`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

View File

@ -116,10 +116,6 @@ public class XxlJobLog {
}
public void setTriggerMsg(String triggerMsg) {
// plugin
if (triggerMsg!=null && triggerMsg.length()>2000) {
triggerMsg = triggerMsg.substring(0, 2000);
}
this.triggerMsg = triggerMsg;
}
@ -144,10 +140,6 @@ public class XxlJobLog {
}
public void setHandleMsg(String handleMsg) {
// plugin
if (handleMsg!=null && handleMsg.length()>2000) {
handleMsg = handleMsg.substring(0, 2000);
}
this.handleMsg = handleMsg;
}
}