Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question

GS7 SimplePollingContainer transactions

We have an implementation that uses the SimplePollingContainer that calls a listener that we have implemented:

+txManager = new LocalJiniTxManagerConfigurer(configurer.space())+ +.defaultTimeout(2000)+ +.transactionManager();+

+new SimplePollingContainerConfigurer(gigaSpace)+ +.transactionManager(txManager).maxEventsPerTask(4)+ +.template(template).concurrentConsumers(1)+ +.maxConcurrentConsumers(2)+ +.receiveTimeout(1000)+ +.eventListener(<some listener="" we're="" implementing="">).pollingContainer();+

As we are moving from 6.6.4 to 7, we have noticed the number of transactions growing linearly without a limit, with 6.6.4 the same code was able to evict the committed transactions and keep the number of transaction at bay, we have initially seen these statement when we moved to 7 in log (info level):

2010-10-22 10:57:24,823 staging711space.1 [1] INFO [com.gigaspaces.core.lease] - Local transaction [id=351035] timed out, transaction aborted by space staging711space

So we used the space UI (Space Browser tab) and that is where we found the linear growth of transactions,

Any feedback or help is appreciated,

Thank you,

{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=3518]{quote}

asked 2010-10-22 11:34:36 -0500

ramzi gravatar image

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

There is something wrong with the transaction handling with your code.
Can you please submit a support case and provide a test case reproducing the problem?

answered 2010-10-22 11:42:34 -0500

shay hassidim gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2010-10-22 11:34:36 -0500

Seen: 26 times

Last updated: Oct 22 '10