Hello,
I’m currently using InfluxDB version 2.7.0 and interfacing with it using the influxdb_client
Python package. My application utilizes MultiprocessingWriter
for handling data writes. However, I’ve encountered an issue where, after restarting the InfluxDB service using sudo systemctl restart influxd
, my program loses its connection to the database and reports an “unauthorized access” error.
I’m looking for a way to recover or re-establish the MultiprocessingWriter
connection without having to restart my entire Python program. Is there a recommended method or best practice for handling such scenarios where the InfluxDB service is restarted, and the connection needs to be re-established in an already running MultiprocessingWriter
instance?
Thanks in advance.