Confirming that I experienced this issue using Infinispan as my 2LC. I have subsequently given up sharing cache regions and I'm much happier and, I believe, taking advantage of the way that it's intended to be used. So this issue is no longer relevant to me. The idea of gracefully disabling the optimisation, if I understand the intention above, sounds like a good solution though. |