[infinispan-issues] [JBoss JIRA] (ISPN-11242) HotRod server test client sends invalid iteration start request

Dan Berindei (Jira) issues at jboss.org
Wed Jan 29 05:44:31 EST 2020


    [ https://issues.redhat.com/browse/ISPN-11242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13959084#comment-13959084 ] 

Dan Berindei commented on ISPN-11242:
-------------------------------------

As an additional data point, the {{includeMetadata}} parameter is only documented in [protocol version 2.5|https://infinispan.org/docs/stable/titles/hotrod_protocol/hotrod_protocol.html#hot_rod_protocol_2_5]

> HotRod server test client sends invalid iteration start request
> ---------------------------------------------------------------
>
>                 Key: ISPN-11242
>                 URL: https://issues.redhat.com/browse/ISPN-11242
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Server, Test Suite
>    Affects Versions: 10.1.1.Final
>            Reporter: Dan Berindei
>            Assignee: Dan Berindei
>            Priority: Major
>             Fix For: 11.0.0.Alpha1
>
>
> {{HotRodIteratorReapTest}} logs a protocol error:
> {noformat}
> 10:39:15,062 TRACE (HotRod-Test-ServerIO-406-1:[]) [BaseDecoder] Parsed header: HotRodHeader{op=ITERATION_START, version=21, messageId=2115, cacheName='Test', flag=0, clientIntel=1, topologyId=0, keyType=null, valueType=null}
> 10:39:15,071 TRACE (HotRod-Test-ServerIO-406-1:[]) [BaseDecoder] Parsing error
> org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 0
> 	at org.infinispan.server.hotrod.HotRodDecoder.switch0(HotRodDecoder.java:208) ~[classes/:?]
> 	at org.infinispan.server.hotrod.HotRodDecoder.switch1_0(HotRodDecoder.java:153) [classes/:?]
> 	at org.infinispan.server.hotrod.HotRodDecoder.decode(HotRodDecoder.java:143) [classes/:?]
> 	at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:503) [netty-codec-4.1.43.Final.jar:4.1.43.Final]
> {noformat}
> This happens because the test client in the server testsuite always sends the {{includeMetadata}} parameter, but the server only expects it when the version number is >= 24.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list