Skip to main content

mr admin similarity retry-failed

Reset image_hashes rows that were marked failed (undecodable file at hash time) so the background backfill worker attempts them again. Prints how many rows were re-queued. Use this after fixing missing files or storage configuration.

Usage

mr admin similarity retry-failed

Examples

Re-queue all failed hashes

mr admin similarity retry-failed

Print the raw JSON result

mr admin similarity retry-failed --json

Flags

This command has no local flags.

Inherited global flags

FlagTypeDefaultDescription
--jsonboolfalseOutput raw JSON
--no-headerboolfalseOmit table headers
--pageint1Page number for list commands (default page size: 50)
--quietboolfalseOnly output IDs
--serverstringhttp://localhost:8181mahresources server URL (env: MAHRESOURCES_URL)

Output

Object with reset (number of failed rows re-queued)

Exit Codes

0 on success; 1 on error

See Also