[ 
https://issues.apache.org/jira/browse/QPID-8117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Rudyy updated QPID-8117:
-----------------------------
    Description: 
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.

  was:
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 
node might end-up in broker crash.

The preferences store should respect the prefix and create the tables with the 
specified prefix.


> [Broker-J] Table prefix of JDBC Virtual Host Node is ignored by preferences 
> store
> ---------------------------------------------------------------------------------
>
>                 Key: QPID-8117
>                 URL: https://issues.apache.org/jira/browse/QPID-8117
>             Project: Qpid
>          Issue Type: Task
>          Components: Broker-J
>    Affects Versions: qpid-java-broker-7.0.2, qpid-java-6.1.2, 
> qpid-java-6.1.3, qpid-java-6.1.4, qpid-java-broker-7.0.0, qpid-java-6.1.5, 
> qpid-java-broker-7.0.1
>            Reporter: Alex Rudyy
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to