Skip to content

Commit af17478

Browse files
authored
classify CANNOT_ASSIGN_ALTER as recoverable (#3398)
1 parent e48c0ab commit af17478

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

flow/alerting/classifier.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,10 @@ func GetErrorClass(ctx context.Context, err error) (ErrorClass, ErrorInfo) {
513513
// could cause false positives, but should be rare
514514
return ErrorNotifyMVOrView, chErrorInfo
515515
}
516-
case chproto.ErrQueryWasCancelled, chproto.ErrPocoException, chproto.ErrCannotReadFromSocket:
516+
case chproto.ErrQueryWasCancelled,
517+
chproto.ErrPocoException,
518+
chproto.ErrCannotReadFromSocket,
519+
517: // CANNOT_ASSIGN_ALTER
517520
return ErrorRetryRecoverable, chErrorInfo
518521
default:
519522
if isClickHouseMvError(chException) {

0 commit comments

Comments
 (0)