Skip to content

[CLI] Restart and Resume stale uploads returns empty list #11296

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
PrajwolAmatya opened this issue May 8, 2025 · 0 comments
Open

[CLI] Restart and Resume stale uploads returns empty list #11296

PrajwolAmatya opened this issue May 8, 2025 · 0 comments
Labels

Comments

@PrajwolAmatya
Copy link
Contributor

Describe the bug

When runnning the CLI command to restart or resume the stale uploads, the the response returns empty list.

It looks like the commands did not restart or resume the stale uploads.

Steps to reproduce

  1. set POSTPROCESSING_DELAY env
  2. upload a file file.txt and make the file to be in stale state
  3. run the CLI command to restart or resume the upload

ocis storage-users uploads sessions --resume
and
ocis storage-users uploads sessions --restart

Expected behavior

It should list the file that is restarted or resumed.

Actual behavior

Returns empty list.

+---------+-------------+---------+---------+------+--------------+----------+----------+----------------+---------------+----------------+
| Space | Upload Id | Name | Offset | Size | Executant | Owner | Expires | Processing | Scan Date | Scan Result |
+---------+-------------+---------+---------+------+--------------+----------+----------+----------------+---------------+----------------+
+---------+-------------+---------+---------+------+--------------+----------+----------+----------------+---------------+----------------+

Setup

  • Infinite Scale 7.1.2+540c2bff621 Community
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant