Skip to content

Autosave does not support 64-bit integer records #44

@jurejesensek

Description

@jurejesensek

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions