This topic describes the new features, optimizations, critical bug fixes, and related documentation for SchedulerX released in 2020.
Client Release Notes
1.2.3.1, December 16, 2020
Change type | Description | Related documentation |
Optimization | Updated the default log4j2 dependency to version 2.15.0. | None |
Change type | Description | Related documentation |
Optimization | Fixed an issue where high client load caused persistent connections for task scheduling to drop, preventing further task scheduling. | None |
1.2.2.2, December 10, 2020
Change type | Description | Related documentation |
New feature | Supports collecting the actual CPU usage of containers. Add the following configuration. For example, using a starter: spring.schedulerx2.enableCgroupMetrics=true, spring.schedulerx2.cgroupPathPrefix=/sys/fs/cgroup/cpu/. This is optional. If the container has the path /sys/fs/cgroup/cpu/, no configuration is needed. Otherwise, set it to the actual cgroup path. Supports labels. Clients can add custom labels at startup. For example, using a starter: spring.schedulerx2.labels=xxx. In task management, you can specify machines or run tasks only on instances with specific labels. This supports scenarios such as grayscale releases and unitization.
| None |
Optimization | Separated heartbeat threads and Akka core threads from business threads to ensure that busy business workloads do not affect heartbeat health checks. Removed H2 from the shaded JAR. Shading H2 may cause failures when loading the MySQL driver.
| None |
1.2.1.2, October 20, 2020
Change type | Description | Related documentation |
New feature | Supports sharing a ContainerPool. All client tasks can share one thread pool. This significantly improves client performance and stability under high-concurrency task scheduling. Shades Scala to resolve Scala version conflicts. Supports appKey-based authentication on Alibaba Cloud public cloud. Enhances the MapReduce model to let you configure whether the Reduce method runs only after all subtasks succeed. Supports setting appKey using the JVM parameter -Dschedulerx.appKey.
| None |
Optimization | Optimized the Netty thread pool in the client. Fixed an issue where broadcast tasks could hang. Fixed a security issue where AccessKey IDs or AccessKey secrets were exposed in SLS logs.
| None |
1.2.0.2, August 19, 2020
Change type | Description | Related documentation |
New feature | Supports up to 100,000 tasks per application (public cloud only). Adds a client log toggle. Logs are enabled by default. OpenAPI task creation now supports setting task status. Removed dependencies on diamond-client, logger.API, and log4j.
| None |
Optimization | | None |
1.1.4.RELEASE, May 15, 2020
Change type | Description | Related documentation |
New feature | Supports self-managed namespaces. Supports initializing multiple SchedulerxWorker instances. Enhanced MapReduce Model Runs the Reduce method even if subtasks fail. JobContext.getTaskStatuses returns the status of each task. The returned Map<Long, TaskStatus> uses the task ID as the key and the task status as the value.
| None |
Optimization | If the ProcessResult is empty, a null pointer occurs. Suspending the thread-dispatcher-delivery causes jobs to hang.
| None |
1.1.2.RELEASE, February 10, 2020
Change type | Description | Related documentation |
New feature | Shades protobuf and Netty from AccessKey ID libraries to resolve JAR conflicts in over 90% of cases. | None |
Optimization | AppKeys do not support multiple groups. | None |
Server Release Notes
December 7, 2020
Change type | Description | Related documentation |
New feature | Supports custom labels for client instances. You can assign tasks to run only on instances with specific labels. Adds email and DingTalk robot alerts. Supports alert contact groups at the application level.
| None |
Optimization | Fixed an issue where changing the GroupID incorrectly reduced historical execution records to 10 entries. Fixed an issue where the machine list in subtask details failed to paginate when many client instances existed. Fixed an issue where no data appeared when viewing historical records in task management.
| None |
September 30, 2020
Change type | Description | Related documentation |
New feature | Supports POP APIs in public cloud regions. Supports appKey-based authentication (application key, replacing AccessKey ID or AccessKey secret). Supports advanced configuration for HTTP tasks. Supports operation logging for creating applications and tasks.
| None |
Optimization | Fixed display issues for incomplete content on 14-inch screens in the execution list. Added authentication to console APIs to prevent security attacks. Fixed an issue where historical records appeared blank in task management. Fixed an issue where tasks in pools could hang. Fixed an issue where broadcast tasks could hang. Fixed an issue where manually running an HTTP task in a workflow incorrectly reported no available machines.
| None |
August 19, 2020
Change type | Description | Related documentation |
New feature | | None |
Optimization | Optimized search performance. In the application list dropdown, all applications appear if fewer than 10 exist. If more than 10 exist, the first application is selected by default. Optimized performance for some server-side query and load APIs. Distinguishes between no-available-machine alerts that specify machines and those that do not. Fixed an issue where disabling a task did not change the instance state in the pool to stopped. Fixed an issue where database exceptions caused instances in pools to hang indefinitely. Fixed an issue where recreating an application with the same name after deletion failed. Fixed an issue where second-level tasks stopped scheduling after user restarts.
| None |
May 27, 2020
Change type | Description | Related documentation |
New feature | Enhanced HTTP tasks. HTTP tasks support POST parameters. HTTP tasks support retrieving basic task information from headers. HTTP task timeout limits increased to 30 seconds. Enhanced POP APIs. New version: aliyun-java-sdk-schedulerx2-1.0.3. Supports creating HTTP tasks through POP APIs. Supports POP APIs for granting and revoking permissions. Supports alerts based on consecutive failure counts. Supports application-level authorization within namespaces.
| None |
Optimization | Optimized search. Task management and workflow management support filtering by status. The execution list supports searching by instance ID. The application list dropdown supports fuzzy search. Validates non-empty applications before deletion. Applications with tasks cannot be deleted. Optimized HTTP task performance. Optimized alert frequency for failures to reduce alert fatigue. Added Contact Us in the console. Validates application names to prevent Chinese characters. Fixed an issue where negative values could not be set for offsets. Fixed UI display issues for timeout values without units. Fixed an issue where switching hosts on the server-side caused certain machines to be lost.
| None |