Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

store/tikv: refine streaming client re-create log and use a smarter backoff strategy #11307

Merged
merged 6 commits into from
Jul 22, 2019
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
address comment
  • Loading branch information
tiancaiamao committed Jul 22, 2019
commit 616f7865a3031a76ef5c890e8682d01e355280e6
7 changes: 6 additions & 1 deletion store/tikv/client_batch.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,13 @@ func (c *batchCommandsClient) reCreateStreamingClient(err error) error {
zap.String("target", c.target),
)
c.client = streamClient
return err
return nil
}
logutil.BgLogger().Error(
"batchRecvLoop re-create streaming fail",
zap.String("target", c.target),
zap.Error(err),
)
return err
}

Expand Down