Open rechena opened 4 years ago
Hey,
Yeah when i wrote the script the datasources were changing so much that it was easier to just drop and recreate every time than attempt anything incremental.
I've not made any changes to this in quiet some time but if i get a chance ill take a look at adding an Incremental vs drop+Recreate switch to the script.
In terms of your error, partial writes are 'ok' in the sense that its just dropping the points that are past the retention period, probably just needs a try catch in there to allow for the error it returns.
Regards
I think this is more a question then an issue. But I've recently changed the retention on my influxDB. With this covid-19 script stopped working:
Looking briefly at the code it seems that everyday you pull all the data and rewrite the db, is this statement correct? Would it be possible to have a "incremental" or too much hassle?
Thanks