Skip to content

rust: make option-only lake maintenance report success #976

Closed

Description

@athvin

Evidence

Maintenance applies --set, --delete-older-than, and --target-file-size catalog option changes before checking whether a checkpoint or other maintenance primitive ran. An option-only invocation mutates the catalog, then exits 1 with no maintenance action requested. Source.

Change

Either count option writes as a successful maintenance action or reject option-only invocation before any mutation. Keep the documented --set behavior explicit.

Done when

  • An option-only invocation has a truthful exit status and message.
  • A validation failure never follows a successful option mutation.
  • A regression test covers one option-only invocation and a mixed option/checkpoint invocation.

Activity

  1. added
    code-cleanup
    on Nov 9, 2026
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

    code-cleanup

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions