Closed lotrus closed 5 years ago
Thanks for uploading the files; was very useful.
055:2019.pb is corrupted. You can use the validate.sh script to check this. Using printtimes.sh; the last data I can get out of this file is 2019-01-10T09:32:15.375Z Jan/10/2019 01:32:15 -08:00 0.0010202959 0 0 2019-01-10T09:32:15.576Z Jan/10/2019 01:32:15 -08:00 0.0010458302 0 0 2019-01-10T09:32:15.775Z Jan/10/2019 01:32:15 -08:00 0.0021401776 0 0 2019-01-10T09:32:15.975Z Jan/10/2019 01:32:15 -08:00 0.0020707913 0 0
delete the PV wihout deleting the data file. Then, I have re-declared the PV in Archive Appliance
I suspect this is the root cause of the problem. 055\:2018.pb says that this PV is a DBR_SCALAR_FLOAT; while 055:2019_03_28.pb says that the PV is a DBR_SCALAR_DOUBLE. So I suspect that somehow, we added some DBR_SCALAR_DOUBLE at the end of a DBR_SCALAR_FLOAT pb file. If you had not deleted the PV; then we'd have checked for this and reported it. However; since you deleted the PV; all information of what it was before was lost.
Since the PV is now a DBR_SCALAR_DOUBLE, you'll need to convert all of your 2018 data as well. Hope that helps.
Thanks a lot for taking the time to analyse the files, all that makes sense now.
We have written a program in Java for changing data type DBR_SCALAR_FLOAT into DBR_SCALAR_DOUBLE. Thanks again for your help.
Hello, Our Archive Appliance is not able to read data that are on lts on one of our experiment. First, we have seen that retrieval servlet generates an exception when it is reading the files. Secondly, when we open one lts file, at one point (Januray 10), there are null values. So it seems in a way normal that we have an exception. We are able to read the sts and mts files. Archive Appliance is updating the lts file, but I didn't find error in the log. Is there a log file that I should specifically read?
The log of the first point are for example:
We are using Archiver Appliance Version 0.0.1_SNAPSHOT_09-October-2018T15-49-47 since Febrary 22th, before we were using 0.0.1_SNAPSHOT_20-September-2016T13-50-17.
Around January 22-25th, we have change the IOC of the variable POS:PT-055. The IOC before was running on CompactRIO machine, and now, the IOC is running on CentOS, so IP address has changed. Archive Appliance was not able to manage a different IP adress for the same PV. So I have pause the PV, delete the PV wihout deleting the data file. Then, I have re-declared the PV in Archive Appliance. Maybe that could be a reason of the problem?
It is possible to download POS:PT-055 PV files on website https://cernbox.cern.ch/index.php/s/nf5iwfVqkd42Otm.