Skip to content

Commit

Permalink
kv-client(cdc): correct conditions of canceling grpc streams (#10237) (
Browse files Browse the repository at this point in the history
  • Loading branch information
hicqu committed Dec 7, 2023
1 parent 929d843 commit 3e07924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdc/kv/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,7 @@ func (s *eventFeedSession) receiveFromStream(
})
if err != nil {
if status.Code(errors.Cause(err)) == codes.Canceled {
log.Debug(
log.Info(
"receive from stream canceled",
zap.String("namespace", s.changefeed.Namespace),
zap.String("changefeed", s.changefeed.ID),
Expand Down

0 comments on commit 3e07924

Please sign in to comment.