Skip to main content

describe_offenders

Function describe_offenders 

Source
fn describe_offenders(offenders: &[(RegionId, FileId)]) -> String
Expand description

Renders the offending (region, file) pairs an error names.

A repartition can be refused by many files, so the message lists the first MAX_LISTED_OFFENDERS and only counts the rest: it stays bounded while every listed entry keeps the region and the file the operator has to settle.