You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ma...@apache.org on 2018/09/18 10:47:07 UTC

[1/2] activemq-artemis git commit: This closes #2317

Repository: activemq-artemis
Updated Branches:
  refs/heads/master 4cbc38778 -> 076c9791a


This closes #2317


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/076c9791
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/076c9791
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/076c9791

Branch: refs/heads/master
Commit: 076c9791a44b089ac9dc67cb3c8c420e9305ebee
Parents: 4cbc387 ead9b00
Author: Martyn Taylor <mt...@redhat.com>
Authored: Tue Sep 18 11:46:47 2018 +0100
Committer: Martyn Taylor <mt...@redhat.com>
Committed: Tue Sep 18 11:46:47 2018 +0100

----------------------------------------------------------------------
 artemis-jdbc-store/src/main/resources/journal-sql.properties | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------



[2/2] activemq-artemis git commit: ARTEMIS-2089 DB2 sending larger message (1MB) crashes the whole server

Posted by ma...@apache.org.
ARTEMIS-2089 DB2 sending larger message (1MB) crashes the whole server

It declares JDBC journal Blobs for IBM DB2 DBMS matching max-blob-size
in order to allow to store data with size > 1 MB ie the default BLOB
capacity


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/ead9b007
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/ead9b007
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/ead9b007

Branch: refs/heads/master
Commit: ead9b007579ad83fd6c808243e4c20035d4c4b4d
Parents: 4cbc387
Author: Francesco Nigro <ni...@gmail.com>
Authored: Fri Sep 14 16:11:44 2018 +0200
Committer: Martyn Taylor <mt...@redhat.com>
Committed: Tue Sep 18 11:46:47 2018 +0100

----------------------------------------------------------------------
 artemis-jdbc-store/src/main/resources/journal-sql.properties | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/ead9b007/artemis-jdbc-store/src/main/resources/journal-sql.properties
----------------------------------------------------------------------
diff --git a/artemis-jdbc-store/src/main/resources/journal-sql.properties b/artemis-jdbc-store/src/main/resources/journal-sql.properties
index 3d76d5d..bf758b8 100644
--- a/artemis-jdbc-store/src/main/resources/journal-sql.properties
+++ b/artemis-jdbc-store/src/main/resources/journal-sql.properties
@@ -86,6 +86,7 @@ max-blob-size.oracle=4294967296
 table-names-case.oracle=upper
 
 # DB2 SQL statements
+create-journal-table.db2=CREATE TABLE %s(id BIGINT,recordType SMALLINT,compactCount SMALLINT,txId BIGINT,userRecordType SMALLINT,variableSize INTEGER,record BLOB(2G),txDataSize INTEGER,txData BLOB(2G),txCheckNoRecords INTEGER,seq BIGINT NOT NULL, PRIMARY KEY(seq))
 max-blob-size.db2=2147483647
 create-file-table.db2=CREATE TABLE %s (ID BIGINT GENERATED ALWAYS AS IDENTITY (START WITH 1 INCREMENT BY 1), FILENAME VARCHAR(255), EXTENSION VARCHAR(10), DATA BLOB(2G), PRIMARY KEY(ID))
 append-to-file.db2=UPDATE %s SET DATA = (DATA || ?) WHERE ID=?