Upgrade Notes
Dataphin supports downtime, semi-downtime, and zero-downtime upgrades. Downtime upgrades use the legacy process, while semi-downtime upgrades use the new process. The following table describes the differences between these methods. For detailed instructions, see Downtime upgrade for Dataphin and Zero-downtime upgrade for Dataphin.
Differences | Semi-downtime upgrade | Downtime upgrade | Zero-downtime upgrade |
Main upgrade steps |
|
|
|
Dataphin logon availability | Yes. Logon is available after the application upgrade is complete. | No | Yes |
Impact of version upgrades
Downtime, semi-downtime, and zero-downtime upgrades have different impacts. The impact of each method is described below.
Semi-downtime upgrade
Logging in to Dataphin is unavailable during the upgrade. Running offline nodes, real-time nodes, and DataService Studio API calls are not affected. The submission of new nodes is prevented only during the application upgrade phase.
Offline tasks | Impact of semi-downtime upgrade |
Running task instances | They run as normal. No impact. |
Pending task instances | They can be submitted normally outside the application upgrade phase. They cannot be submitted during the application upgrade phase. |
Instance monitoring for offline tasks | Alerting does not work during the upgrade. After the upgrade, alerting resumes, and alerts for events that occurred during the downtime are sent. If a run timeout alert rule is configured, an alert may still be triggered for a successful node. This happens because the node status is not tracked during the upgrade, which increases the total runtime. |
Offline task management (modifying resource groups, starting and stopping tasks, and viewing logs) | Not supported because logon to Dataphin is unavailable. |
Downtime upgrade
Logging in to Dataphin is unavailable during the upgrade. Running offline nodes must be stopped, and new nodes cannot be submitted. Running real-time nodes and DataService Studio API calls are not affected. The specific impacts are described below.
Feature | Feature point | Impact of downtime upgrade |
DataService Studio | DataService Studio API calls |
|
Call authentication and permission verification | The system uses the cache for API call authentication and permission verification.
| |
API development | Modifying, publishing, and viewing APIs are not supported because logon is unavailable. | |
API O&M | Viewing API operational status is not supported because logon is unavailable. | |
API alerting | Throttling and alerting for APIs are not available. | |
Real-time jobs include real-time integration and real-time development. | Real-time execution of task instances | They run as normal. No impact. |
Real-time monitoring of task instances | Alerting does not work from the start of the downtime until the application is restored. After the application is successfully upgraded, alerting resumes. You do not need to wait for the Dataphin console to become accessible. Alert events that occur during the downtime are ignored. | |
O&M for real-time tasks (such as modifying resource groups, starting and stopping tasks, and viewing logs) | Real-time node O&M is not supported because logon to Dataphin is unavailable. |
Zero-downtime upgrade
A zero-downtime upgrade performs a rolling upgrade of the Dataphin application. During the upgrade, a small number of requests might fail. To resolve the issue, retry the request.