]
Dan Berindei updated ISPN-5918:
-------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
Remote transactions can be registered after cache stop and block
shutdown
-------------------------------------------------------------------------
Key: ISPN-5918
URL:
https://issues.jboss.org/browse/ISPN-5918
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 8.0.1.Final, 8.1.0.Alpha2
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 8.1.0.Beta1, 8.1.0.Final
The cache status check is done in {{InvocationContextInterceptor}}, but by that time the
remote transaction was already registered, and there is nothing to remove it from the
transaction table.
This can be seen in {{TerminatedCacheWhileInTxTest}}, which logs ""Wait very
briefly and then make call." and then proceeds to wait for 30s (i.e. until the cache
shutdown timeout expires).