Use REST APIs to perform the following distribution task maintenance procedures:
Generate Stop All Tasks Token: Generates an execution token required to stop all distribution tasks. This token is used with the Stop All Tasks API.
Stop All Tasks: Stops all running distribution tasks.
Generate Unlock Stuck Tasks Token: Generates an execution token required to unlock all stuck distribution tasks. This token is used with the Unlock Stuck Tasks API.
Unlock Stuck Tasks: Unlocks all stuck distribution tasks.
Tip
JFrog Distribution 2.32.0 and later contains an auto-recovery mechanism that detects and frees stuck distribution tasks. To activate it, open the Distribution application config YAML file, and in the internal.monitoring
section, change the value of the stuck-tasks-auto-recovery-enabled
property to true
.