We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49e9daf commit 89ba2e7Copy full SHA for 89ba2e7
sessionctx/binloginfo/binloginfo.go
@@ -269,7 +269,7 @@ func (info *BinlogInfo) WriteBinlog(clusterID uint64) *WriteResult {
269
return &WriteResult{true, nil}
270
}
271
272
- if strings.Contains(err.Error(), "received message larger than max") {
+ if strings.Contains(err.Error(), "message larger than max") {
273
// This kind of error is not critical, return directly.
274
return &WriteResult{false, errors.Errorf("binlog data is too large (%s)", err.Error())}
275
0 commit comments