You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kw...@apache.org on 2017/10/23 14:18:12 UTC
[1/2] qpid-broker-j git commit: QPID-7980: [Qpid Broker-J] Fix
regression on the routeToAlternate path that meant enqueue records remained
in the store
Repository: qpid-broker-j
Updated Branches:
refs/heads/master b2c553784 -> d5c1f4245
QPID-7980: [Qpid Broker-J] Fix regression on the routeToAlternate path that meant enqueue records remained in the store
Project: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/commit/b47ca13d
Tree: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/tree/b47ca13d
Diff: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/diff/b47ca13d
Branch: refs/heads/master
Commit: b47ca13dd6c976de7bcc33a3ddefef47c45e8224
Parents: b2c5537
Author: Keith Wall <kw...@apache.org>
Authored: Mon Oct 23 14:35:26 2017 +0100
Committer: Keith Wall <kw...@apache.org>
Committed: Mon Oct 23 14:38:19 2017 +0100
----------------------------------------------------------------------
.../java/org/apache/qpid/server/queue/QueueEntryImpl.java | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-broker-j/blob/b47ca13d/broker-core/src/main/java/org/apache/qpid/server/queue/QueueEntryImpl.java
----------------------------------------------------------------------
diff --git a/broker-core/src/main/java/org/apache/qpid/server/queue/QueueEntryImpl.java b/broker-core/src/main/java/org/apache/qpid/server/queue/QueueEntryImpl.java
index a125078..aed7cfe 100644
--- a/broker-core/src/main/java/org/apache/qpid/server/queue/QueueEntryImpl.java
+++ b/broker-core/src/main/java/org/apache/qpid/server/queue/QueueEntryImpl.java
@@ -28,9 +28,6 @@ import java.util.concurrent.atomic.AtomicIntegerFieldUpdater;
import java.util.concurrent.atomic.AtomicLongFieldUpdater;
import java.util.concurrent.atomic.AtomicReferenceFieldUpdater;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
import org.apache.qpid.server.filter.Filterable;
import org.apache.qpid.server.message.InstanceProperties;
import org.apache.qpid.server.message.MessageDeletedException;
@@ -51,8 +48,6 @@ import org.apache.qpid.server.util.StateChangeListenerEntry;
public abstract class QueueEntryImpl implements QueueEntry
{
- private static final Logger _log = LoggerFactory.getLogger(QueueEntryImpl.class);
-
private final QueueEntryList _queueEntryList;
private final MessageReference _message;
@@ -605,7 +600,8 @@ public abstract class QueueEntryImpl implements QueueEntry
{
result = new RoutingResult<>(getMessage());
}
- txn.addPostTransactionAction(new ServerTransaction.Action()
+
+ txn.dequeue(getEnqueueRecord(), new ServerTransaction.Action()
{
@Override
public void postCommit()
@@ -625,7 +621,7 @@ public abstract class QueueEntryImpl implements QueueEntry
{
txn.commit();
}
- return enqueues;
+ return enqueues;
}
@Override
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org
[2/2] qpid-broker-j git commit: QPID-7982: [Qpid Broker-J] For
MySQL/MariaDB default to a LONGBLOB for message content.
Posted by kw...@apache.org.
QPID-7982: [Qpid Broker-J] For MySQL/MariaDB default to a LONGBLOB for message content.
Project: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/commit/d5c1f424
Tree: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/tree/d5c1f424
Diff: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/diff/d5c1f424
Branch: refs/heads/master
Commit: d5c1f4245106be8f8210bab57659ca526e1024a3
Parents: b47ca13
Author: Keith Wall <kw...@apache.org>
Authored: Mon Oct 23 14:52:16 2017 +0100
Committer: Keith Wall <kw...@apache.org>
Committed: Mon Oct 23 14:52:16 2017 +0100
----------------------------------------------------------------------
.../main/java/org/apache/qpid/server/store/jdbc/JDBCDetails.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-broker-j/blob/d5c1f424/broker-plugins/jdbc-store/src/main/java/org/apache/qpid/server/store/jdbc/JDBCDetails.java
----------------------------------------------------------------------
diff --git a/broker-plugins/jdbc-store/src/main/java/org/apache/qpid/server/store/jdbc/JDBCDetails.java b/broker-plugins/jdbc-store/src/main/java/org/apache/qpid/server/store/jdbc/JDBCDetails.java
index 6b9d4f0..0cdf2c6 100644
--- a/broker-plugins/jdbc-store/src/main/java/org/apache/qpid/server/store/jdbc/JDBCDetails.java
+++ b/broker-plugins/jdbc-store/src/main/java/org/apache/qpid/server/store/jdbc/JDBCDetails.java
@@ -62,10 +62,10 @@ public abstract class JDBCDetails
true);
private static final JDBCDetails DERBY = new KnownJDBCDetails("derby", "blob", "varchar(%d) for bit data", "bigint", false,
true);
- private static final JDBCDetails MYSQL = new KnownJDBCDetails("mysql", "blob", "varbinary(%d)", "bigint", false,
+ private static final JDBCDetails MYSQL = new KnownJDBCDetails("mysql", "longblob", "varbinary(%d)", "bigint", false,
true);
- private static final JDBCDetails MARIA_DB = new KnownJDBCDetails("mariadb", "blob", "varbinary(%d)",
+ private static final JDBCDetails MARIA_DB = new KnownJDBCDetails("mariadb", "longblob", "varbinary(%d)",
"bigint", false, true);
static
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org