influxdata / influxdata/influxdb-client-go

WritePoint function: panic send on Closed channel

Open
#405 0 comments 0 reactions 1 assignee Claimed by @vlastahajek View on GitHub
bug
Dominant language
Go
Stars
653
Forks
120
Avg merge
3m
Merged PRs (30d)
3

Description

### 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](https://github.com/user-attachments/assets/747346d1-7693-4ea2-8ec4-d8a2c0e73e60)

### 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](https://github.com/user-attachments/assets/747346d1-7693-4ea2-8ec4-d8a2c0e73e60)

### Additional info

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.