-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
sqlccl: IMPORT fails with "Failed to create ServerTransport: connection". No indication in admin UI. Only in logs. #25481
Comments
@thstart I think you should bring up the cluster make sure that you're not seeing the grpc warning you are seeing in the logs and only then run the import command. |
I did and got same messages again |
I restarted cockroachdb on n2 and attempted IMPORT again and after 14 hours got the same result. This is serious issue and nobody mentioned it till now? |
Hey @thstart - before we dig any further, could you tell us a bit more about your cluster configuration? It'd be helpful to know for each node:
Thanks again for your patience. |
Adding context from gitter: @thstart split insert into 50x 2m inserts, still seeing slow performance. |
The problem is nor the slow performance but this communication issue. from the new IMPORT these which failed show this communication problem as a reason to fail. |
Our current best guess is this is #25480. We think one of the nodes is having liveness or other issues that is causing the worker to die which causes the failure. We're not sure when we will prioritize that, but you can subscribe to that issue to see updates. |
BUG REPORT
commands:
n1:
/usr/local/bin/cockroach
start
--insecure
--store=/TC.CockRoachDB.store
--host=my ip address 1
--http-port=9000
--cache=25%
--max-sql-memory=25%
n2:
/usr/local/bin/cockroach
start
--insecure
/TC.CockRoachDB.store
--host=my ip address 2
--http-port=9000
--cache=25%
--max-sql-memory=25%
--join=my ip address 1:26257
n3:
/usr/local/bin/cockroach
start
--insecure
/TC.CockRoachDB.store
--host=my ip address 3
--http-port=9000
--cache=25%
--max-sql-memory=25%
--join=my ip address 1:26257
==========================
Only on n2:
W180512 10:00:29.066054 19312608 vendor/google.golang.org/grpc/server.go:625 grpc: Server.Serve failed to create ServerTransport: connection error: desc = "transport: http2Server.HandleStreams received bogus greeting from client: "GET /_status/vars HTTP/1""
I180512 10:00:35.632078 172 server/status/runtime.go:219 [n1] runtime stats: 1.6 GiB RSS, 149 goroutines, 475 MiB/95 MiB/779 MiB GO alloc/idle/total, 4.7 GiB/6.1 GiB CGO alloc/total, 1020.51cgo/sec, 0.13/0.03 %(u/s)time, 0.00 %gc (0x)
W180512 10:00:39.068422 19312637 vendor/google.golang.org/grpc/server.go:625 grpc: Server.Serve failed to create ServerTransport: connection error: desc = "transport: http2Server.HandleStreams received bogus greeting from client: "GET /_status/vars HTTP/1""
I180512 10:00:45.755898 172 server/status/runtime.go:219 [n1] runtime stats: 1.6 GiB RSS, 149 goroutines, 326 MiB/216 MiB/779 MiB GO alloc/idle/total, 4.7 GiB/6.1 GiB CGO alloc/total, 1110.66cgo/sec, 0.21/0.05 %(u/s)time, 0.00 %gc (1x)
W180512 10:00:49.066495 19312882 vendor/google.golang.org/grpc/server.go:625 grpc: Server.Serve failed to create ServerTransport: connection error: desc = "transport: http2Server.HandleStreams received bogus greeting from client: "GET /_status/vars HTTP/1""
I180512 10:00:55.629911 172 server/status/runtime.go:219 [n1] runtime stats: 1.6 GiB RSS, 149 goroutines, 436 MiB/129 MiB/779 MiB GO alloc/idle/total, 4.7 GiB/6.1 GiB CGO alloc/total, 1049.41cgo/sec, 0.14/0.02 %(u/s)time, 0.00 %gc (0x)
W180512 10:00:57.154530 54 vendor/google.golang.org/grpc/clientconn.go:1158 grpc: addrConn.createTransport failed to connect to {192.168.0.196:26257 0 }. Err :connection error: desc = "transport: failed to write client preface: io: read/write on closed pipe". Reconnecting...
W180512 10:00:59.067747 19312996 vendor/google.golang.org/grpc/server.go:625 grpc: Server.Serve failed to create ServerTransport: connection error: desc = "transport: http2Server.HandleStreams received bogus greeting from client: "GET /_status/vars HTTP/1""
I180512 10:01:05.764751 172 server/status/runtime.go:219 [n1] runtime stats: 1.6 GiB RSS, 149 goroutines, 556 MiB/23 MiB/779 MiB GO alloc/idle/total, 4.7 GiB/6.1 GiB CGO alloc/total, 1111.12cgo/sec, 0.12/0.03 %(u/s)time, 0.00 %gc (0x)
W180512 10:01:09.068300 19313116 vendor/google.golang.org/grpc/server.go:625 grpc: Server.Serve failed to create ServerTransport: connection error: desc = "transport: http2Server.HandleStreams received bogus greeting from client: "GET /_status/vars HTTP/1""
I ran same IMPORT at 2018-05-13 and a Failure again at 2018-05-14
Performing IMPORT.
There is not an indication for such issues. I did go back for 2018-05-13 and 2018-05-14 and Replicas per Node show same number for all 3 nodes: 7,334.
Basically slowly increasing but same number for all 3 nodes
how this is possible with communication error on n2?
IMPORT failed after running 14 hours.
On the command line got the following error:
W180514 20:47:42.317473 35807157 server/server.go:1761 [n2] error closing gzip response writer:
The text was updated successfully, but these errors were encountered: