-
Notifications
You must be signed in to change notification settings - Fork 877
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Drop task on serialization error #3803
Drop task on serialization error #3803
Conversation
43f676b
to
414e188
Compare
DeserializationError struct { | ||
msg string | ||
encodingType enumspb.EncodingType | ||
wrappedErr error | ||
} | ||
|
||
// UnknownEncodingTypeError is an error type for unknown or unsupported encoding type | ||
UnknownEncodingTypeError struct { | ||
encodingType enumspb.EncodingType | ||
encodingTypeStr string | ||
supportedEncodingStr []string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should setup an alert to catch those error types returned from persistence client and the alert should fire whenever those errors occur. Otherwise some components may encounter those errors and retry slowly, which will never trigger the persistence error alert.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
DeserializationError struct { | ||
msg string | ||
encodingType enumspb.EncodingType | ||
wrappedErr error | ||
} | ||
|
||
// UnknownEncodingTypeError is an error type for unknown or unsupported encoding type | ||
UnknownEncodingTypeError struct { | ||
encodingType enumspb.EncodingType | ||
encodingTypeStr string | ||
supportedEncodingStr []string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
649eb5c
to
fea053e
Compare
What changed?
Why?
How did you test it?
Potential risks
Is hotfix candidate?
Yes