-
Bug
-
Resolution: Done
-
Major
-
11.0.8.Final, 12.0.0.Final
-
None
-
Workaround Exists
-
-
Undefined
When using a mutimap.get(key) and the key is not in the multi map, a warning is printed:
WARN [org.infinispan.HOTROD] (HotRod-client-async-pool-4-16) ISPN004098: Closing connection [...] due to transport error: org.infinispan.client.hotrod.exceptions.InvalidResponseException:: ISPN004003: Invalid magic number. Expected 0xa1 and received 0x0 ?
This message could be traced back to here:
the package looks like: /magic:/0xA1, /VLong:messageId:/0x22, /GET_MULTIMAP_RESPONSE:/0x68, /OperationStatus.KeyDoesNotExist:/0x02, /no topology change:/0x00, /???/0x00
The problem is the extra 0x00 (compare to the warning)
The "extra bytes" are the results size, in the case of "NOT_EXIST" 0
https://github.com/infinispan/infinispan/blob/12.0.0.Dev07/server/hotrod/src/main/java/org/infinispan/server/hotrod/Encoder2x.java#L342
But in the KeyDoesNotExist case Multimap does not read the extra bytes.
Related Issue: https://issues.redhat.com/browse/ISPN-11630
Most likely introduced while fixing that issue:
- relates to
-
ISPN-11630 Server and client get out of sync after multimap get with metadata operation
- Closed
-
ISPN-12598 Hot Rod java client retries too many times
- Closed