Move Stuck Uploads
Detect and optionally move stuck uploads.
Command Set Overview
The described command is part of the ocis shares command set:
ocis shares -h
NAME:
ocis shares - CLI tools to manage entries in the share manager.
USAGE:
ocis shares [command options]
CATEGORY:
maintenance
COMMANDS:
cleanup Clean up stale entries in the share manager.
clean-orphaned-grants Detect and clean orphaned share-manager grants.
move-stuck-upload-blobs Move stuck upload blobs to the jsoncs3 share-manager metadata
help, h Shows a list of commands or help for one command
OPTIONS:
--help, -h show help
Command Details
In some cases of saturated disk usage, Infinite Scale metadata may become stuck. This can occur when file metadata is being moved to its final destination after file operations. This issue was primarily seen with shares, where uploaded files could not be accessed. The required filename parameter aligns with Infinite Scale’s internal processes and is used to complete the formerly stuck move action.
ocis shares -h move-stuck-upload-blobs
NAME:
ocis shares move-stuck-upload-blobs - Move stuck upload blobs to the jsoncs3 share-manager metadata
USAGE:
ocis shares move-stuck-upload-blobs [command options]
OPTIONS:
--dry-run Dry run mode enabled (default: false)
--basepath value, -p value the basepath of the decomposedfs (e.g. /var/tmp/ocis/storage/users)
--filename value File to move from uploads/ to share manager metadata blobs/ (default: "received.json")
--verbose, -v Verbose logging enabled (default: false)
--help, -h show help
-
--dry-run(default:true)
Only print found files stuck in transition. Note: This is a safety measure. You must specify--dry-run=falsefor the command to be effective. -
--filenamevalue (default: "received.json")
File to move fromuploads/to share manager metadatablobs/