Kaytu's AI platform boosts cloud efficiency by analyzing historical usage and delivering intelligent recommendations—such as optimizing instance sizes—that maintain reliability. Pay for what you need, without compromising your apps.
Describe the bug
When downloading a plugin (e.g. updating plugin version) if for any reason plugin download breaks, the plugin binary will be corrupted.
Although config file wont take the effect until after download is completed, we need to make sure that we dont break the plugin binary.
It's better to download the new file into a temporary file and then move it on the plugin binary once download is finished.
Describe the bug When downloading a plugin (e.g. updating plugin version) if for any reason plugin download breaks, the plugin binary will be corrupted. Although config file wont take the effect until after download is completed, we need to make sure that we dont break the plugin binary. It's better to download the new file into a temporary file and then move it on the plugin binary once download is finished.