rolls-tech / silverDB

Scalable database for time-series data storage and real-time computing
9 stars 6 forks source link

node节点加载配置文件时没有检查config.yml中路径的合法性 #10

Open CoderUper opened 4 years ago

CoderUper commented 4 years ago

Describe the bug node节点加载配置文件时没有检查config.yml中路径的合法性

To Reproduce Steps to reproduce the behavior:

  1. 启动etcd
  2. 运行node1.go
  3. 运行write.go
  4. node1报错:close connection due to error: read tcp 127.0.0.1:12346->127.0.0.1:52344: wsarecv: An existing connection was forcibly closed by the remote host.

Expected behavior node1打印错误日志:close connection due to error: read tcp 127.0.0.1:12346->127.0.0.1:52344: wsarecv: An existing connection was forcibly closed by the remote host.

Screenshots If applicable, add screenshots to help explain your problem. ![Uploading image.png…]()

Desktop (please complete the following information):

CoderUper commented 4 years ago