You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
List of a prefix 503s when a single object key contains an empty path segment (//) #116
When a ListObjectsV2 page returned by the backend contains a single object whose key has an empty path segment (a //), multistore fails the entire list request with 503 ServiceUnavailable instead of listing the other (valid) keys. One malformed object key takes out the whole prefix.
object_store's strict Path parser rejects empty segments, and multistore propagates that as a fatal backend error for the page rather than skipping the offending key.
aws s3 ls --no-sign-request against the raw bucket lists it fine (S3 keys are opaque byte strings and // is legal). Listing the same prefix through multistore 503s.
Only prefixes that contain such a key fail; sibling prefixes list normally.
Impact
A single stray upload with a double slash (or a zero-byte folder-marker object ending in //) makes an entire prefix unlistable through the gateway, with an error that gives the operator no hint about which object or why. S3 itself accepts and serves these keys, so the gateway is stricter than the backend it fronts.
Suggested fix
On list, don't let one unparseable key fail the page. Options:
Skip keys that fail strict Path::parse, ideally logging the raw key at warn so operators can find and fix it; or
Parse list keys leniently (Path::from / from_url_path, which tolerate empty segments) instead of strict parse.
At minimum, surface the offending raw key in the error so it's diagnosable without correlating backend logs.
Environment
multistore 0.6.3 (features: azure), via multistore-cf-workers on Cloudflare Workers
Activity
alukach commentedon Jul 21, 2026
Related: apache/arrow-rs-object-store#341