cassandra-reaper icon indicating copy to clipboard operation
cassandra-reaper copied to clipboard

Deleting schedule gives confusing error message

Open a1exsh opened this issue 7 years ago • 2 comments

Project board link

When one tries to delete a repair schedule, an error message like the following is shown: Repair schedule c87975b0-4491-11e8-9602-9756d0798e38 currently running. Must be first stopped.

This is confusing, because a schedule cannot be "running". It can be "active" or "inactive". A repair can be running, so immediately one checks if a repair is running for this schedule and if there is none, the confusion increases.

I propose to change the wording to "Repair schedule %s is currently active. Must be first deactivated." Also it would make sense to change the available controls for schedule to "Deactivate/Activate" instead of "Stop/Activate".

┆Issue is synchronized with this Jira Story by Unito ┆Issue Number: REAP-166

a1exsh avatar Sep 04 '18 07:09 a1exsh

+1

michaelsembwever avatar Sep 05 '18 00:09 michaelsembwever

I was just about to open a bug to say that I have no repairs running relative to that schedule, this is a bug. But you're right, it's just a problem in wording. 😅

lapo-luchini avatar Mar 11 '21 07:03 lapo-luchini