influxdb-client-go
influxdb-client-go copied to clipboard
coroutine safe in internal/write/service.go
Specifications
Client Version: v2.9.2 InfluxDB Version:v2.3.0 Platform:Ubuntu 20.04
internal/write/service.go
I see Write.go have Flush() and writeProc(), them maybe called at the same time, and HandleWrite() and Flush() didn't use a lock to protect retryQueue and write batch.
excuse me, is my understanding correct?