-
1. Re: Repplication queue regression in 2.1.1.GA?
manik May 14, 2008 11:41 AM (in response to fungrim)Replication queues cannot be used with REPL_SYNC - only REPL_ASYNC. I haven't heard of this regression, would like to see your test. :-)
-
2. Re: Repplication queue regression in 2.1.1.GA?
fungrim May 15, 2008 5:18 AM (in response to fungrim)Cleaned up, testng'd and uploaded.
Here: http://www.cubeia.com/misc/replqueue/src.zip
The test includes a config file, it is documented and... fails. You should be able to drop this straight into the 2.1.1.GA tag and run.
Cheers
/Lars -
3. Re: Repplication queue regression in 2.1.1.GA?
manik May 15, 2008 11:55 AM (in response to fungrim)Thanks for this - I have created a JIRA for this JBCACHE-1348. See comments on JIRA.
Also, I have included a (slightly modified) version of your test in our test suite. :-) -
4. Re: Repplication queue regression in 2.1.1.GA?
fungrim May 15, 2008 12:07 PM (in response to fungrim)Cool.
Our real scenario is this: We have two caches, one for hard binary data (dataCache) and one for meta data (metaCache) consisting mainly of strings. The server processing updates the dataCache within a transaction (configurable with JTA manager) which default to a jboss dummy transaction. But as a part of that processing the metaCache is also updated. The metaCache uses a replication queue and asynchronous replication.
Can I work around this by using another transaction manager? (Thinking that the metaCache is only involved in the transaction because it shares the same, singleton, instance of cache manager). -
5. Re: Repplication queue regression in 2.1.1.GA?
manik May 15, 2008 12:16 PM (in response to fungrim)You could suspend the tx for the call to the metaCache, and then resume it afterwards...
This is not a TM specific issue so changing TMs won't really help.