archiver-appliance / epicsarchiverap

This is an implementation of an archiver for EPICS control systems that aims to archive millions of PVs.
Other
38 stars 38 forks source link

PV alias deletion deletes underlying PV #93

Open acar7901 opened 4 years ago

acar7901 commented 4 years ago

We had a situation here recently in which someone deleted an alias and data, and it removed the underlying PV and it’s data (which they wanted to keep), AND it removed another alias that was pointing to the same underlying PV.

Can some functionality be added that warns people when they are about to delete an alias and the underlying data?

hinxx commented 4 years ago

Warning sounds nice, but is there really a need to remove the PV data that was stored so far? Wouldn't be enough to reconfigure the PV alias in archive appliance to now point to new real PV, and still keep the previus real PV data intact.

An use case I can foresee is PV alias change if we need to use another analog input on a multi-channel digitizer.