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
4 changes: 4 additions & 0 deletions flow/alerting/classifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -806,6 +806,10 @@ func GetErrorClass(ctx context.Context, err error) (ErrorClass, ErrorInfo) {
return ErrorRetryRecoverable, mongoErrorInfo
}

if mongoCmdErr.HasErrorMessage(MongoIncompleteReadOfMessageHeader) {
return ErrorRetryRecoverable, mongoErrorInfo
}

// this often happens on Mongo Atlas as part of maintenance and should recover
// (ShutdownInProgress code should be 91, but we have observed 0 in the past, so string match to be safe)
if mongoCmdErr.HasErrorMessage(MongoShutdownInProgress) {
Expand Down
Loading