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
As part of migrating to OH3 I've added my influxdb persistence. For some reason, I'm now getting this error. I get this across multiple items, not just the one below. I could just purge these values from the database and let it create new as a workaround, but I'd rather not lose the historical data. Not sure why it's writing as an integer now and not a float as before.
2020-11-14 20:32:37.956 [ERROR] [org.influxdb.impl.BatchProcessor ] - Batch could not be sent. Data will be lost
org.influxdb.InfluxDBException$FieldTypeConflictException: partial write: field type conflict: input field "value" on measurement "ZWave_DownstairsHallwayMotionSensor_BinarySensor" is type integer, already exists as type float dropped=1
at org.influxdb.InfluxDBException.buildExceptionFromErrorMessage(InfluxDBException.java:144) ~[bundleFile:?]
at org.influxdb.InfluxDBException.buildExceptionForErrorState(InfluxDBException.java:173) ~[bundleFile:?]
at org.influxdb.impl.InfluxDBImpl.execute(InfluxDBImpl.java:827) ~[bundleFile:?]
at org.influxdb.impl.InfluxDBImpl.write(InfluxDBImpl.java:460) ~[bundleFile:?]
at org.influxdb.impl.OneShotBatchWriter.write(OneShotBatchWriter.java:22) ~[bundleFile:?]
at org.influxdb.impl.BatchProcessor.write(BatchProcessor.java:340) [bundleFile:?]
at org.influxdb.impl.BatchProcessor$1.run(BatchProcessor.java:287) [bundleFile:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:834) [?:?]
The text was updated successfully, but these errors were encountered:
morph166955
changed the title
[OH3] [persistence] InfluxDB
[OH3] [persistence] InfluxDB integer instead of float
Nov 14, 2020
Why do you think this is a core framework issue? I'd think this is rather something that needs to be addressed in the InfluxDB persisitence service, isn't it?
As part of migrating to OH3 I've added my influxdb persistence. For some reason, I'm now getting this error. I get this across multiple items, not just the one below. I could just purge these values from the database and let it create new as a workaround, but I'd rather not lose the historical data. Not sure why it's writing as an integer now and not a float as before.
The text was updated successfully, but these errors were encountered: