• Bug
  • Status: Open
  • 2 Major
  • Resolution:
  • jhouse
  • Reporter: klalithr
  • December 05, 2011
  • 0
  • Watchers: 1
  • November 21, 2013

Description

The details of the issue are in this Forum Thread - http://forums.terracotta.org/forums/posts/list/6193.page#32217

Below is the essence from the Forum Thread …

We are not being able to do what ultimately is a “Put from a notifyPut inside a listener to a different distributed cache”

Specifically, we class A and class B running on separate JVMs and a CacheA and CacheB distributed caches.

Class A is updating CacheA in its own cache manager instance. We registered a ListenerA to the CacheA Inside of listenerA notifyElementPut method, we put an element into CacheB. We registered a ListenerB to the CacheB ListenerB notifyElementPut performs an action.

Whats happening is that the notifyElementPut is never getting called in ListenerB (Which runs on the second JVM)

The workaround is to do this as part of a different Thread.

Comments

Karthik Lalithraj 2011-12-05

This is a duplicate of https://jira.terracotta.org/jira/browse/DEV-6562

Karthik Lalithraj 2011-12-05

One more forum thread that is similar - http://forums.terracotta.org/forums/posts/list/0/6241.page#32225

Fiona OShea 2011-12-12

We need to decide whether to ignore this issue or if we should throw an error when people do this.

Fiona OShea 2011-12-19

If we could somehow detect this and throw an “unsupported” error that would be great