influxdb-client-go icon indicating copy to clipboard operation
influxdb-client-go copied to clipboard

WritePoint function: panic send on Closed channel

Open XianwuLin opened this issue 1 year ago • 0 comments

Specifications

  • Client Version: v2.13.0
  • InfluxDB Version: v2.7.1
  • Platform: x86

Steps to reproduce

  1. Use this library to continuously write data to influxdb
  2. kill influxdb
  3. sometimes program error: send on closed channel image

Expected behavior

Plugin should be able to correctly handle the situation where influxdb is closed and give an error instead of panic directly.

Actual behavior

panic image

Additional info

No response

XianwuLin avatar Aug 07 '24 09:08 XianwuLin