Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autosave does not support 64-bit integer records #44

Open
jurejesensek opened this issue Oct 14, 2021 · 2 comments
Open

Autosave does not support 64-bit integer records #44

jurejesensek opened this issue Oct 14, 2021 · 2 comments

Comments

@jurejesensek
Copy link
Contributor

Autosave does not support restoring 64-bit integer records (ie. int64out). When restoring, the following log is produced:

dbrestore:scalar_restore: restore of '1' for '<PV_NAME>' failed
filename="../dbrestore.c" line number=291

dbrestore:reboot_restore: restore for PV '<PV_NAME>' failed

and the PV's value is not restored. In this case <PV_NAME> is the name of the int64out PV.

Steps to reproduce:

  1. Setup an epics7 DB with an int64out record and autosave
  2. Add this int64out record to autosave (tested using info fields in records)
  3. Run the IOC, wait for autosave to save the values and stop the IOC
  4. Restart the IOC

Expected behaviour:
The value of the 64-bit PV is saved and restored.

Actual behaviour:
The value is saved, but it is not restored after IOC restart, with the above error message.

Build environment:
Architecture: x86_64, Linux
Epics Base Version: 7.0.5
Autosave version: 5.10.2

@hanak
Copy link

hanak commented May 30, 2022

I just run into this issue, too. And, I have noticed there is a pull request which can resolve the issue. Is there a maintainer of the repository who can review the pull request?

@keenanlang
Copy link
Member

Should be fixed as of 240f81a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants