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
History cleaner does the history clean and only stores the data of certain hours. Let's say:
it has to store data for 1 day and
the device has been offline for 2 days
Now, when the program loads up all the history data gets deleted. And it starts creating the history records again from index 1. But at other ends, the history sync services Postgres, and InfluxDB they have a marker (history_sync_logs table) of the last time data was synced. As the result, it doesn't sync the value till history reaches up to that marker.
The solution is, when the cleaner does the clean job, add additional where conditions for don't delete the last record at any cost.
The text was updated successfully, but these errors were encountered:
History cleaner does the history clean and only stores the data of certain hours. Let's say:
Now, when the program loads up all the history data gets deleted. And it starts creating the history records again from index 1. But at other ends, the history sync services Postgres, and InfluxDB they have a marker (
history_sync_logs
table) of the last time data was synced. As the result, it doesn't sync the value till history reaches up to that marker.The solution is, when the cleaner does the clean job, add additional where conditions for don't delete the last record at any cost.
The text was updated successfully, but these errors were encountered: