[
https://issues.jboss.org/browse/ISPN-4200?page=com.atlassian.jira.plugin....
]
Martin Gencur commented on ISPN-4200:
-------------------------------------
Here are some observations:
* When storing data via HotRod or REST in compatibility mode on the source node, it is
possible to read data via REST or HotRod on the target node. For REST the values are
automatically converted to String and so the test passes. When reading the data via
HotRod, the values are byte arrays but it is enough to just call new
String(returned_bytearray) to get the right result. It also depends if the source data was
a simple string or a custom object. If it is a custom object, the returned string is an
XML representation of the object.
* The RestStore configuration has "rawvalues" parameter but it is not possible
to set it (even disable it) in the server configuration. It's missing from the XSD.
So I don't think this is a big problem unless we want HotRod clients to be able to
read values directly from the cache that has a rest-store defined, without the need to
convert the byte array to String. But was probably not intended.
ExampleConfigsTest.testRestRollingUpgrades fails
------------------------------------------------
Key: ISPN-4200
URL:
https://issues.jboss.org/browse/ISPN-4200
Project: Infinispan
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Test Suite - Server
Reporter: Jakub Markos
Assignee: Mircea Markus
Fails in the latest snapshot on line 240 with
{code}
Can't access etries stored in source node (target's RestCacheStore).
expected:<value1> but was:<[B@19676adb>
{code}
you can run the test from /server/integration/testsuite with this command:
mvn clean test -Psuite.examples -Dtest=ExampleConfigsTest#testRestRollingUpgrades
The configs used are
/server/integration/testsuite/target/server/node1/standalone/configuration/examples/{standalone-rest-rolling-upgrade.xml,
standalone-compatibility-mode.xml}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)