cockroachdb / cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
https://www.cockroachlabs.com
Other
29.91k stars 3.78k forks source link

ALTER BACKUP SCHEDULE should not automatically resume schedules #128995

Open kev-cao opened 1 month ago

kev-cao commented 1 month ago

Describe the problem

When running ALTER BACKUP SCHEDULE and changing the collection URI or recurrence, the schedules are automatically resumed.

To Reproduce

  1. Create a backup schedule
  2. Pause the schedule
  3. Run an `ALTER BACKUP SCHEDULE‘ that changes either recurrence or collection URI

Expected behavior The paused schedule will automatically resume. There are situations where the user may want to edit a paused schedule and not necessarily resume it. We already have ‘RESUME SCHEDULE` so this automatic behavior is unnecessary.

Jira issue: CRDB-41322

blathers-crl[bot] commented 1 month ago

Hi @kev-cao, please add branch-* labels to identify which branch(es) this C-bug affects.

:owl: Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

blathers-crl[bot] commented 1 month ago

cc @cockroachdb/disaster-recovery