How to Upgrade Across Major Versions via API Automation

https://hackernoon.imgix.net/images/eQHzh6rz7ETBHLjs0KzCl1Dooqp2-i983bu3.jpeg

1. Background: Why Perform a Major Version Upgrade?

Existing Environment

**Current DolphinScheduler Version:**3.1.3
Current SeaTunnel Version: 2.1.3

Deployment Scale: 1 Master + 2 Workers, with over 3,700 workflow definitions and more than 20,000 scheduled tasks executed daily.

Years in Production: The system has been running stably for over three years.

Drivers Behind the Upgrade

  1. Functional Requirements: With growing business demands, the limitations of the current version became increasingly apparent, including architectural design constraints, metadata database processing bottlenecks, and insufficient server resources.
  2. Community Support: The official community recommends adopting the latest stable release to obtain better technical support.
  3. Performance Optimization: Version 3.4.1 delivers significant improvements in scheduling performance and system stability.

Why We Did Not Use the Official Upgrade Path

  1. Large Version Gap:The upgrade path would require multiple intermediate upgrades:
    3.1.3 → 3.2.0 → 3.3.0 → 3.4.1.
  2. Production Environment Constraints:Multiple maintenance windows were unacceptable due to strict business continuity...

Copyright of this story solely belongs to hackernoon.com. To see the full text click HERE

Read more