mmctl icon indicating copy to clipboard operation
mmctl copied to clipboard

Download is flaky

Open akiross opened this issue 2 years ago • 0 comments

Hello,

I'm attempting to use mmctl (version 7.10.0) export data from a cloud instance: while the creation of the exporting archive seems to be successful, the download process is flaky and unrealiable: mmctl export download <archive> always terminates with a success status, no messages on the stdout, but the output file is corrupted.

I ran the mmctl export dowload command 6 times in a row, and each time the downloaded archive has a different size, ranging from 790MB to 920MB, no errors were reported from the mmctl executable while running. The internet connection is quite reliable and fast, so I'm not sure if that's has any part in this.

The mmctl export job show <ID> does not report the archive size in bytes, so I'm unable to tell if any of the archives has been downloaded completely. Also, useful information like archive checksum (SHA/MD5) and download progress percentage are missing, so it's not possible to check whenever the download process is successful.

Is it possible to improve the download process so that at least the number of bytes of the archive is visible?

Ideally, I'd imagine a progress bar to run on the screen while downloading and a checksum verification at the end of the download to check if the download is corrupted, but the byte count seems a very useful and yet low hanging fruit.

Thank you!

akiross avatar May 02 '23 14:05 akiross