You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/01/30 17:28:00 UTC
[jira] [Commented] (ARTEMIS-1643) Compaction must check against
NULL records while replaying
[ https://issues.apache.org/jira/browse/ARTEMIS-1643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16345472#comment-16345472 ]
ASF GitHub Bot commented on ARTEMIS-1643:
-----------------------------------------
GitHub user franz1981 opened a pull request:
https://github.com/apache/activemq-artemis/pull/1825
ARTEMIS-1643 Compaction must check against NULL records while replaying
JournalCompactor.UpdateCompactCommand::execute is checking if updateRecord is null to avoid on replay under huge load that will be thrown AMQ142028.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/franz1981/activemq-artemis npe_compact
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/1825.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1825
----
commit 5cbab9b01ae598403ac0294d90d718de0db1d114
Author: Francesco Nigro <ni...@...>
Date: 2018-01-30T17:18:07Z
ARTEMIS-1643 Compaction must check against NULL records while replaying
JournalCompactor.UpdateCompactCommand::execute is checking if updateRecord is null to avoid on replay under huge load that will be thrown AMQ142028.
----
> Compaction must check against NULL records while replaying
> ----------------------------------------------------------
>
> Key: ARTEMIS-1643
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1643
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Reporter: Francesco Nigro
> Assignee: Francesco Nigro
> Priority: Major
>
> JournalCompactor could throw AMQ142028: Error replaying pending commands after compacting: java.lang.NullPointerException under huge load while replaying because UpdateCompactCommand isn't checking against null JournalRecords.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)