You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have problem with writing data to influxdb, there is no error anywhere, but I checked the bucket, the data not sent. Is it because of this bug? I tried with WriteAPIBlocking.WritePoint and WriteAPI.WritePoint but no luck.
@ridwankustanto, your problem is most probably somewhere else. The race condition here could happen in the specific condition when data is written by multiple goroutines and the server is overloaded and returns an error.
How do you check the data is written?
Do you write data with a timestamp?
Hi @vlastahajek, ohh I see. I checked the error with both ways (asynchronously and synchronously), I got nothing. But I guess I found the problem and I fixed it. It was my mistake with the timestamp. Thanks for reminding me about that!
vlastahajek
added a commit
to bonitoo-io/influxdb-client-go
that referenced
this issue
Oct 30, 2020
WriteAPIBlocking.WritePoint
andWriteAPIBlocking.WriteRecord
must ensure synchronized calling ofwrite.Service.HandleWrite
The text was updated successfully, but these errors were encountered: