[JBoss JIRA] (JGRP-2431) Fix NPE when debugging Message::readHeader
by Bela Ban (Jira)
[ https://issues.redhat.com/browse/JGRP-2431?page=com.atlassian.jira.plugin... ]
Bela Ban updated JGRP-2431:
---------------------------
Fix Version/s: 4.1.9
> Fix NPE when debugging Message::readHeader
> ------------------------------------------
>
> Key: JGRP-2431
> URL: https://issues.redhat.com/browse/JGRP-2431
> Project: JGroups
> Issue Type: Bug
> Reporter: Diego Lovison
> Assignee: Diego Lovison
> Priority: Optional
> Fix For: 4.1.9
>
>
> When debugging the following method a NPE will throw if you try to evaluate the "hdr" expression.
> {code:java}
> protected static Header readHeader(DataInput in) throws IOException, ClassNotFoundException {
> short magic_number=in.readShort();
> Header hdr=ClassConfigurator.create(magic_number);
> hdr.readFrom(in);
> return hdr;
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 6 months
[JBoss JIRA] (JGRP-2431) Fix NPE when debugging Message::readHeader
by Diego Lovison (Jira)
[ https://issues.redhat.com/browse/JGRP-2431?page=com.atlassian.jira.plugin... ]
Diego Lovison reassigned JGRP-2431:
-----------------------------------
Assignee: Diego Lovison (was: Bela Ban)
> Fix NPE when debugging Message::readHeader
> ------------------------------------------
>
> Key: JGRP-2431
> URL: https://issues.redhat.com/browse/JGRP-2431
> Project: JGroups
> Issue Type: Bug
> Reporter: Diego Lovison
> Assignee: Diego Lovison
> Priority: Optional
>
> When debugging the following method a NPE will throw if you try to evaluate the "hdr" expression.
> {code:java}
> protected static Header readHeader(DataInput in) throws IOException, ClassNotFoundException {
> short magic_number=in.readShort();
> Header hdr=ClassConfigurator.create(magic_number);
> hdr.readFrom(in);
> return hdr;
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 6 months
[JBoss JIRA] (JGRP-2431) Fix NPE when debugging Message::readHeader
by Diego Lovison (Jira)
Diego Lovison created JGRP-2431:
-----------------------------------
Summary: Fix NPE when debugging Message::readHeader
Key: JGRP-2431
URL: https://issues.redhat.com/browse/JGRP-2431
Project: JGroups
Issue Type: Bug
Reporter: Diego Lovison
Assignee: Bela Ban
When debugging the following method a NPE will throw if you try to evaluate the "hdr" expression.
{code:java}
protected static Header readHeader(DataInput in) throws IOException, ClassNotFoundException {
short magic_number=in.readShort();
Header hdr=ClassConfigurator.create(magic_number);
hdr.readFrom(in);
return hdr;
}
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 6 months
[JBoss JIRA] (JGRP-2430) GossipRouter: more efficient routing
by Bela Ban (Jira)
[ https://issues.redhat.com/browse/JGRP-2430?page=com.atlassian.jira.plugin... ]
Bela Ban updated JGRP-2430:
---------------------------
Fix Version/s: 4.2.0
(was: 4.1.9)
> GossipRouter: more efficient routing
> ------------------------------------
>
> Key: JGRP-2430
> URL: https://issues.redhat.com/browse/JGRP-2430
> Project: JGroups
> Issue Type: Enhancement
> Reporter: Bela Ban
> Assignee: Bela Ban
> Priority: Major
> Fix For: 4.2.0
>
>
> GossipRouter supports both NIO (ByteBuffer) and TCP (stream-based) connections. In both cases, however, the entire message is read and then routed to the destination address.
> It would be better to only read the cluster name and target address, and then use efficient stream-to-stream (or channel-to-channel) _transfer mechanisms_, which avoids temporary copies of data and the full reading of messages.
> Investigate whether this is possible.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 6 months