activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuconic <...@git.apache.org>
Subject [GitHub] activemq-artemis pull request #1351: ARTEMIS-1220 Diverted LargeMessage file...
Date Mon, 26 Jun 2017 14:06:41 GMT
Github user clebertsuconic commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/1351#discussion_r124018115
  
    --- Diff: artemis-server/src/main/java/org/apache/activemq/artemis/core/persistence/impl/journal/LargeServerMessageImpl.java
---
    @@ -282,7 +282,7 @@ public Message copy(final long newID) {
                 byte[] bufferToWrite;
                 if (bytesRead <= 0) {
                    break;
    -            } else if (bytesRead == bufferBytes.length) {
    +            } else if (bytesRead == bufferBytes.length && !this.storageManager.isReplicated())
{
    --- End diff --
    
    hmmm.. nice one!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message