Skip to content

Commit 4efe6d9

Browse files
authored
pg: ignore 58P02 (Duplicate File) (#3347)
1 parent b212cf9 commit 4efe6d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flow/alerting/classifier.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ func GetErrorClass(ctx context.Context, err error) (ErrorClass, ErrorInfo) {
365365
case pgerrcode.OutOfMemory:
366366
return ErrorNotifyOOMSource, pgErrorInfo
367367

368-
case pgerrcode.QueryCanceled:
368+
case pgerrcode.QueryCanceled, pgerrcode.DuplicateFile:
369369
return ErrorRetryRecoverable, pgErrorInfo
370370
}
371371
}

0 commit comments

Comments
 (0)