[JBoss JIRA] (ISPN-11341) Client requests go to wrong server with binary storage
by Pedro Ruivo (Jira)
[ https://issues.redhat.com/browse/ISPN-11341?page=com.atlassian.jira.plugi... ]
Pedro Ruivo updated ISPN-11341:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Client requests go to wrong server with binary storage
> ------------------------------------------------------
>
> Key: ISPN-11341
> URL: https://issues.redhat.com/browse/ISPN-11341
> Project: Infinispan
> Issue Type: Bug
> Components: Core, Hot Rod, Server
> Affects Versions: 9.4.18.Final, 10.1.2.Final, 11.0.0.Alpha1
> Reporter: Dan Berindei
> Assignee: Gustavo Fernandes
> Priority: Major
> Fix For: 10.1.4.Final, 11.0.0.Alpha2, 9.4.19.Final
>
>
> Caches with BINARY storage accept {{byte[]}} keys, but add a prefix to indicate that the input was a {{byte[]}} and not a {{WrappedByteArray}}.
> This happens in {{BinaryEncoder.toStorage()}}, before the segment of the key is computed, so the segment computed by the server is different from the segment computed by the client (based on the key without the prefix).
> Since the client doesn't know (and shouldn't know) the server cache's storage type, the server should always compute the segment of the key based on the {{byte[]}} sent by the client. The simplest way to achieve that would be to make {{BinaryEncoder}} skip the marshalling for {{byte[]}}.
> The only problem is that we don't want users to put in a {{WrappedByteArray}} and get back a {{byte[]}}, so we should disallow {{WrappedByteArray}} keys and values in {{Cache}} methods.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 7 months
[JBoss JIRA] (ISPN-11403) RestMetricsResource fails due to NettyTransportConnectionStats.getNumberOfGlobalConnections metrics not working with jmx disabled
by Nistor Adrian (Jira)
[ https://issues.redhat.com/browse/ISPN-11403?page=com.atlassian.jira.plugi... ]
Nistor Adrian updated ISPN-11403:
---------------------------------
Summary: RestMetricsResource fails due to NettyTransportConnectionStats.getNumberOfGlobalConnections metrics not working with jmx disabled (was: RestMetricsResource fails due to NettyTransportConnectionStats.getNumberOfGlobalConnections metrrics not working with jmx disabled)
> RestMetricsResource fails due to NettyTransportConnectionStats.getNumberOfGlobalConnections metrics not working with jmx disabled
> ---------------------------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-11403
> URL: https://issues.redhat.com/browse/ISPN-11403
> Project: Infinispan
> Issue Type: Bug
> Components: JMX, reporting and management
> Affects Versions: 11.0.0.Alpha1
> Reporter: Nistor Adrian
> Assignee: Nistor Adrian
> Priority: Major
> Fix For: 11.0.0.Alpha2
>
>
> NettyTransportConnectionStats depending on jmx being enabled is very very very very wrong.
> Today's fix will just allow mp metrics export to work, and these stats be 0 if jmx is not enabled.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 7 months
[JBoss JIRA] (ISPN-11402) Docs: Level 2 edit
by Donald Naro (Jira)
[ https://issues.redhat.com/browse/ISPN-11402?page=com.atlassian.jira.plugi... ]
Donald Naro updated ISPN-11402:
-------------------------------
Description:
* Review getting started content for accuracy.
* Fix formatting errors.
* No broken links or anchors.
* All attributes are correct and up to date.
* Clean up Dev Guide content. Light review.
was:
* Review getting started content for accuracy.
* Fix formatting errors.
* No broken links or anchors.
* All attributes are correct and up to date.
* Clean up Dev Guide. Level 2 edit.
> Docs: Level 2 edit
> ------------------
>
> Key: ISPN-11402
> URL: https://issues.redhat.com/browse/ISPN-11402
> Project: Infinispan
> Issue Type: Enhancement
> Components: Documentation
> Reporter: Donald Naro
> Assignee: Donald Naro
> Priority: Major
>
> * Review getting started content for accuracy.
> * Fix formatting errors.
> * No broken links or anchors.
> * All attributes are correct and up to date.
> * Clean up Dev Guide content. Light review.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 7 months