Skip to content

500 on get bucket when server is down #41

Closed

Description

@ctengel

Should be a more specific 5xx

Perhaps allow an override to list what's available

Activity

  1. added this to the Basic milestone on Mar 9, 2026
  2. ctengel commented on May 21, 2026

    @ctengel
    OwnerAuthor

    Fixed in 36e4586. list_bucket now catches httpx.HTTPError when an object server is unreachable and returns 503 (the documented code for an upstream object-server failure) instead of an uncaught-exception 500. 502/504 were considered but rejected — the locator coordinates object servers rather than acting as a gateway/proxy. Added a regression test (test_list_bucket_server_down).

    Follow-up: the "override to list what's available" idea (partial results from healthy servers) was deliberately left out of scope — worth a separate issue.

  3. added a commit that references this issue on May 21, 2026
    36e4586
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions