]
Galder Zamarreño updated ISPN-9217:
-----------------------------------
Status: Open (was: New)
Interrupted thread should result in InterruptedException being sent
back
------------------------------------------------------------------------
Key: ISPN-9217
URL:
https://issues.jboss.org/browse/ISPN-9217
Project: Infinispan
Issue Type: Bug
Components: Remote Protocols
Affects Versions: 9.1.7.Final
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
Fix For: 9.1.8.Final
If a pre-netty Hot Rod client gets interrupted, it will result in an
IllegalStateException.
This is because finding an interrupted thread returns a negative value, which
RetryOnFailureOperation will result in not retrying and throwing IllegalStateException
(see
[
here|https://github.com/infinispan/infinispan/blob/9.1.x/client/hotrod-cl...]
and
[
here|https://github.com/infinispan/infinispan/blob/9.1.x/client/hotrod-cl...]