Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion v3/pkg/managerclient/tasks.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2017 ScyllaDB
// Copyright (C) 2026 ScyllaDB

package managerclient

Expand Down Expand Up @@ -45,3 +45,22 @@ const (
TaskStatusError string = "ERROR"
TaskStatusAborted string = "ABORTED"
)

// TaskStatusDescription contains human friendly descriptions of task statuses.
var TaskStatusDescription = map[string]string{
TaskStatusNew: "Task was created and awaits its first execution according to schedule",
TaskStatusRunning: "Task is currently running",
TaskStatusStopping: "Task is being stopped by the user. It will be stopped shortly",
TaskStatusStopped: "Task was stopped by the user or cluster suspend. " +
"In case it was stopped, next execution is planned according to schedule. " +
"In case of cluster suspend, next execution is planned according to cluster resume parameters",
TaskStatusWaiting: "Task was stopped because it reached the end of maintenance window. " +
"Next execution is planned at the beginning of next window",
TaskStatusDone: "Task finished with success. " +
"Next execution is planned according to schedule",
TaskStatusError: "Task finished with error. " +
"In case it hasn't used all retries, next execution is planned according to retry and backoff settings. " +
"Otherwise, next execution is planned according to schedule",
TaskStatusAborted: "Task was interrupted by ScyllaDB Manager shutdown. " +
"Next execution is planned according to schedule",
}
Loading