qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Wall (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-7873) [Broker-J] Delete store notion confused
Date Fri, 09 Mar 2018 14:06:00 GMT

    [ https://issues.apache.org/jira/browse/QPID-7873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16392911#comment-16392911
] 

Keith Wall commented on QPID-7873:
----------------------------------

There is a defect.  I am using Maria DB.
 # Add JSON VHN with JDBC VH
 # Run a {{show tables}} - expected messaging tables have been created
 # Delete the VHN
 # Repeat {{show tables }} *defect* - AMQP_1_0_LINKS and AMQP_1_0_LINKS_VERSION remain.

If I create a JDBC backed VHN with Provided Store, the same issue does not appear.
{noformat}
MariaDB [qpid]> show tables;
+------------------------+
| Tables_in_qpid         |
+------------------------+
| AMQP_1_0_LINKS         |
| AMQP_1_0_LINKS_VERSION |
| QPID_DB_VERSION        |
| QPID_MESSAGE_CONTENT   |
| QPID_MESSAGE_METADATA  |
| QPID_QUEUE_ENTRIES     |
| QPID_XIDS              |
| QPID_XID_ACTIONS       |
+------------------------+
8 rows in set (0.00 sec)

MariaDB [qpid]> show tables;
+------------------------+
| Tables_in_qpid         |
+------------------------+
| AMQP_1_0_LINKS         |
| AMQP_1_0_LINKS_VERSION |
+------------------------+
2 rows in set (0.00 sec)
{noformat}

> [Broker-J] Delete store notion confused
> ---------------------------------------
>
>                 Key: QPID-7873
>                 URL: https://issues.apache.org/jira/browse/QPID-7873
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Broker-J
>            Reporter: Keith Wall
>            Assignee: Alex Rudyy
>            Priority: Major
>             Fix For: Future
>
>
> org.apache.qpid.server.store.MessageStore#onDelete
> org.apache.qpid.server.store.DurableConfigurationStore#onDelete
> org.apache.qpid.server.protocol.v1_0.store.LinkStore#delete
> The Java Broker's delete store notion conflates the removal of the structures from the
store (e.g. the removal of a table from a RDBMS, for instance) with the destruction of the
store itself (e.g. removal of Derby or BDB files).  We are also unclear about whether we expect
a store to be in an open state when the store is deleted.
> This problem does not currently cause a functional defect.



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

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


Mime
View raw message