QPID-7558 introduced a notion of table prefix which allows to share the same database/schema by multiple virtual hosts. The prefix is used in naming the store tables which allows to distinguish tables belonging to different VHNs.
However, the tables of preferences store do not respect the prefix. The preferences tables are created without a prefix. As result, the preference tables can be shared by
multiple Virtual Host instances. On deletion of one of VHNs the preferences tables are deleted and attempts to save preferences for remaining virtual host nodes might end-up in broker crash.
The preferences store should respect the prefix and create the tables with the specified prefix.