#53713Reference index ignores sys_file_reference deleted flag
Description
Currently the ReferenceIndex will add relations to sys_file records even if the sys_file_reference record that is the reason for the entry was marked as deleted.
I’m not sure if this intended behavior to prevent the deletion of files that are used by references that might be restored at some point. So maybe this can be kept the way it is.
But on the other hand the sys_refindex table has a deleted flag. Should this not be set at least?
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.