You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it sometimes returns 1 single Kerror when a partition leader could not be found (and ignores the requests to all the other partitions), while sometimes it will return ErrDeleteRecords with any per partition errors wrapped. It should really consistently return 1 type of error
errs = append(errs, errors.New(deleteRecordsResponsePartition.Err.Error()))
when it wraps the Kerror from each partition, it creates a new error from the string which makes the error type checking difficult. I would expect it to preserve the Kerror type.
The text was updated successfully, but these errors were encountered:
RE: admin.go#L576-L623
errs = append(errs, errors.New(deleteRecordsResponsePartition.Err.Error()))
when it wraps the Kerror from each partition, it creates a new error from the string which makes the error type checking difficult. I would expect it to preserve the Kerror type.
The text was updated successfully, but these errors were encountered: