Closed
Description
Bug Report
[2023/12/06 10:46:41.796 +08:00] [ERROR] [tso_dispatcher.go:498] ["[tso] getTS error"] [dc-location=global] [stream-addr=http://127.0.0.1:49408] [error="[PD:client:ErrClientGetTSO]get TSO failed, after processing requests"]
but
Lines 493 to 496 in ef6ba85
And more, I do a test for ZapError
err1 := errors.New("test")
log.Error("[pd] failed to close grpc clientConn", errs.ZapError(errs.ErrCloseGRPCConn, err1))
It prints
[2023/12/06 10:53:11.164 +08:00] [ERROR] [client_test.go:505] ["[pd] failed to close grpc clientConn"] [error="[PD:grpc:ErrCloseGRPCConn]test: test"] [stack="github.com/tikv/pd/tests/integrations/client_test.TestCustomTimeout\n\t/Users/jiangyongbo/github/pd/tests/integrations/client/client_test.go:505\ntesting.tRunner\n\t/usr/local/go/src/testing/testing.go:1595"]
"close gRPC connection failed" is overwritten by "test"
What did you do?
What did you expect to see?
What did you see instead?
What version of PD are you using (pd-server -V
)?
Metadata
Assignees
Labels
Type
Projects
Status
Closed