tbschedule icon indicating copy to clipboard operation
tbschedule copied to clipboard

tbschedule是一个由Alibaba开源的支持分布式的调度框架。

Results 12 tbschedule issues
Sort by recently updated
recently updated
newest added

Bumps logback-core from 1.2.0 to 1.2.9. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ch.qos.logback:logback-core&package-manager=maven&previous-version=1.2.0&new-version=1.2.9)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...

dependencies

http://java52.com/kcdetail.html?course=2

dependencies

![3447363F-EF72-43CF-A17A-468C53318FDA](https://user-images.githubusercontent.com/5626655/125911661-a74b2eb1-98e3-4dd4-b7d1-de49392efe70.jpg) 配置表达式是一分钟执行一次:0 0/1 * * * ? 问题现象是调用频次越来越频繁,最高时到了每分钟执行一千多次,然后我在控制台操作暂停,也不生效,重启机器后回复正常了

bug

* 调度策略 > 停止 ``` 2019-05-23 21:32:47 INFO c.t.p.s.t.TBScheduleManager - 停止服务器 :demoTask1$10.254.90.186$9ED0AB96BD5F4015AF1ECAE3B9B45785$0000000000 2019-05-23 21:32:47 ERROR c.t.p.s.s.TBScheduleManagerFactory - 注销任务错误:strategyName=DemoTask-strategy java.lang.NullPointerException: null at com.taobao.pamirs.schedule.strategy.TBScheduleManagerFactory.stopServer(TBScheduleManagerFactory.java:282) at com.taobao.pamirs.schedule.strategy.TBScheduleManagerFactory.reRegisterManagerFactory(TBScheduleManagerFactory.java:188) at com.taobao.pamirs.schedule.strategy.TBScheduleManagerFactory.refresh(TBScheduleManagerFactory.java:177) at com.taobao.pamirs.schedule.strategy.ManagerFactoryTimerTask.run(TBScheduleManagerFactory.java:449) at java.util.TimerThread.mainLoop(Timer.java:555)...

bug

调度启动时,会试图清理之前已经过期的任务信息: ``` // 清除已经过期1天的TASK,OWN_SIGN的组合。超过一天没有活动server的视为过期 this.scheduleCenter.clearExpireTaskTypeRunningInfo(baseTaskType, ScheduleUtil.getLocalIP() + "清除过期OWN_SIGN信息",this.taskTypeInfo.getExpireOwnSignInterval()); ``` 如果该目录不为空,就会报异常: ``` 2019-06-20 14:43:55 ERROR c.t.p.s.s.TBScheduleManagerFactory - strategy 获取对应的java or bean 出错,schedule并没有加载该任务,请确认DemoTask-strategy org.apache.zookeeper.KeeperException$NotEmptyException: KeeperErrorCode = Directory not empty for /schedule/demo/baseTaskType/demoTask1/demoTask1 at...

bug

schedule 运行2、3天会出现,如下大批量的报错,zookeeper free 只有100多M,不知道是什么情况,请教大佬! [2019-07-01 16:36:03,609] [syncErpOrderNonRealTime_14090001-271-HeartBeat] (ZooKeeper.java:684) INFO org.apache.zookeeper.ZooKeeper - Session: 0x16b9bb69d5f06b9 closed [2019-07-01 16:36:03,609] [syncErpOrderNonRealTime_14090001-271-HeartBeat] (ZooKeeper.java:438) INFO org.apache.zookeeper.ZooKeeper - Initiating client connection, connectString=10.8.1.248:2181 sessionTimeout=60000 watcher=com.taobao.pamirs.schedule.zk.ZKManager$1@6c315b5 [2019-07-01 16:36:03,612] [syncErpOrderNonRealTime_14090001-271-HeartBeat-EventThread]...

代码中定时任务都是用Timer实现的,JDK官方已经建议使用ScheduledThreadPoolExecutor替代,而alibaba p3c插件也建议使用ScheduledThreadPoolExecutor。

enhancement

如果哪位前端同学感兴趣,可以帮忙把tbschedule后台管理界面优化一下,现在的界面还是1.0版本,非常朴素~

enhancement

Bumps [ch.qos.logback:logback-classic](https://github.com/qos-ch/logback) from 1.2.0 to 1.2.13. Commits 2648b9e prepare release 1.2.13 bb09515 fix CVE-2023-6378 4573294 start work on 1.2.13-SNAPSHOT a388193 Merge branch 'branch_1.2.x' of github.com:qos-ch/logback into branch_1.2.x de44dc4 prepare release...

dependencies

Bumps [ch.qos.logback:logback-classic](https://github.com/qos-ch/logback) from 1.2.0 to 1.2.13. Commits 2648b9e prepare release 1.2.13 bb09515 fix CVE-2023-6378 4573294 start work on 1.2.13-SNAPSHOT a388193 Merge branch 'branch_1.2.x' of github.com:qos-ch/logback into branch_1.2.x de44dc4 prepare release...

dependencies