2021

Updated at:

This topic describes the new features, optimizations, and bug fixes for SchedulerX that were released in 2021.

Client release notes

1.3.2, 2021-12-15

Change type

Description

References

Optimization

Updated the default log4j2 dependency to version 2.15.0.

None

1.3.0.3, 2021-11-26

Change type

Feature Description

References

New feature

Enhanced standalone second-level tasks. You can now distribute and switch the execution of second-level loop tasks among different instances. To enable this feature in a SpringBoot application, set the spring.schedulerx2.enableSecondDelayStandaloneDispatch parameter to true. The default value is false.

None

Optimization

  • Improved the response speed of clients during shutdown and offline procedures.

  • Fixed an issue where a client connected to multiple application groups reported heartbeats of running instances to only one specific scheduling service.

  • Fixed an issue where second-level tasks occasionally caused thread interruptions and NullPointerExceptions.

  • Fixed a compatibility issue that caused task execution to time out due to a lock when the SchedulerX client was integrated with Spring Cloud.

  • Fixed an issue where broadcast tasks were interrupted during concurrent execution.

  • Fixed an issue where the list of worker instances was not regularly refreshed during the execution of second-level tasks.

  • Fixed an issue where the scan thread did not terminate after a stop instruction was executed for a second-level broadcast task.

  • Fixed an issue where tasks could get stuck during batch deployments of many workers in a second-level broadcast task scenario.

None

1.2.9.1, 2021-8-30

Change type

Description

References

Optimization

Fixed an issue where task execution timed out due to a lock when a worker was integrated with Spring Cloud.

None

1.2.9, 2021-8-27

Change type

Description

References

New feature

Enhanced standalone second-level tasks. You can now distribute and switch the execution of second-level loop tasks among different instances. To enable this feature, set the parameter spring.schedulerx2.enableSecondDelayStandaloneDispatch=true. The default value is false.

None

Optimization

Fixed an issue where broadcast tasks received break signals during concurrent execution and the list of available worker instances was not updated.

None

1.2.8.3, 2021-8-13

Change type

Description

References

Optimization

Fixed an issue where the scan thread did not terminate after a stop instruction was executed for a second-level broadcast task.

None

1.2.8.2, 2021-8-6

Change type

Description

References

Optimization

Fixed an issue where tasks could get stuck during batch deployments of many workers for second-level broadcast tasks.

None

1.2.8, 2021-6-23

Change type

Description

References

New feature

  • Enhanced broadcast tasks. `postProcess` can now get the execution status of all machines with JobContext.getTaskStatuses() and the execution results with JobContext.getTaskResults().

  • Broadcast sharding model: Broadcast tasks can obtain shardingNum and sharingId through JobContext, enabling them to perform distributed data processing based on the index of the current machine.

  • Enhanced the sharding model. `JobContext` now lets you get the total number of shards from shardingNum.

None

1.2.7, 2021-4-28

Change type

Description

References

New feature

Added a switch to disable the failover feature.

None

Optimization

  • Fixed a potential socket leak issue caused by heartbeat health check failures.

  • Fixed an issue where a MapTask Master with many sub-tasks could frequently trigger unnecessary failovers.

None

1.2.5.2, 2021-4-8

Change type

Description

References

New feature

Second-level task intervals now support millisecond precision.

None

Optimization

  • In the MapReduce model, the root task is now fixed to execute on the master node to simplify troubleshooting.

  • Removed the hard dependency on log4j2. If you use logback, you can remove the log4j and log4j2 dependencies.

None

1.2.4.3, 2021-1-21

Change type

Description

References

New feature

  • Added support for progress reporting for running broadcast tasks.

  • You can disable heartbeat logs with a switch.

None

Optimization

  • Changed the heartbeat interval to 10 seconds.

  • Fixed a critical issue where broadcast tasks could get stuck.

None

Server-side release notes

2021-12-01

Change type

Description

References

New feature

  • New API: Specify machines.

  • New API: Query workflows.

None

2021-06-02

Change type

Description

References

New feature

  • Added support for automatic application splitting. A single application can now handle millions of tasks.

  • Added support for RAM authentication.

None