在我们的CSI驱动程序中,我们最近包含了快照功能支持。使用v6.0.1外部快照。我看到,当我们执行创建快照操作时,在csi.v1.Controller/CreateSnapshot
的日志中看到太多的GRPC调用
cat driver.log | grep 'csi.v1.Controller/CreateSnapshot'
I0927 17:47:14.105028 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
I0927 17:47:17.243862 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
I0927 17:47:18.155425 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
I0927 17:47:19.026359 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
I0927 17:47:19.816381 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
I0927 17:47:20.553471 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
I0927 17:47:21.265841 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
I0927 17:47:22.090815 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
I0927 17:47:22.851513 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
I0927 17:47:23.555432 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
I0927 17:47:24.269332 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
I0927 17:47:25.051528 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
I0927 17:47:25.764960 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
I0927 17:47:26.682565 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
I0927 17:47:27.359656 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
I0927 17:47:28.120403 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
I0927 17:47:28.790861 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
I0927 17:47:29.509234 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
I0927 17:47:30.199635 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
I0927 17:47:30.905746 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
I0927 17:47:31.605362 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
I0927 17:47:32.418714 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
I0927 17:47:33.306218 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
I0927 17:47:34.021675 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
I0927 17:47:34.754203 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
I0927 17:47:35.593932 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
I0927 17:47:38.163890 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
I0927 17:47:38.958784 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
I0927 17:47:39.901797 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
I0927 17:47:40.594249 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
I0927 17:47:41.351820 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
I0927 17:47:42.071174 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
I0927 17:47:42.765785 1 server.go:151] GRPC call: /csi.v1.Controller/CreateSnapshot
可能的原因是什么。有什么建议我应该从哪里开始调查。
1条答案
按热度按时间lmyy7pcs1#
或许你可以把客户的地址记下来。在围棋中,你可以用
peer.FromContext
获取他们的地址。这将帮助您确定是否有太多呼叫者同时运行,或者是否有一个错误配置的呼叫者。