[JBoss JIRA] (ISPN-1862) fire TransactionCompletedEvent not as part of the transaction
by Thomas Fromm (JIRA)
Thomas Fromm created ISPN-1862:
----------------------------------
Summary: fire TransactionCompletedEvent not as part of the transaction
Key: ISPN-1862
URL: https://issues.jboss.org/browse/ISPN-1862
Project: Infinispan
Issue Type: Enhancement
Components: Core API
Affects Versions: 5.1.1.FINAL
Reporter: Thomas Fromm
Assignee: Manik Surtani
When catching TransactionCompletedEvent I would expect, the transaction is committed, especially when isTransactionSuccessful() == true.
I need to perform some operations after a transaction was completed. My workaround is ATM to suspend the transaction, perform my (async) stuff, and
resume it afterwards. But in case of errors after resume, I get another TransactionCompletedEvent for this transaction with isTransactionSuccessful() == false.
You see, I need something like a TransactionReallyCompletedEvent :-)
My change request is, that the TransactionCompletedEvents should be fired, after the transaction was committed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (ISPN-2232) Cache::start doesn't setup CommandInitializer in ComponentRegistry when used with Query
by Ales Justin (JIRA)
Ales Justin created ISPN-2232:
---------------------------------
Summary: Cache::start doesn't setup CommandInitializer in ComponentRegistry when used with Query
Key: ISPN-2232
URL: https://issues.jboss.org/browse/ISPN-2232
Project: Infinispan
Issue Type: Feature Request
Components: Configuration, Querying
Affects Versions: 5.2.0.ALPHA2
Reporter: Ales Justin
Assignee: Galder Zamarreño
Fix For: 5.2.0.Alpha3
When re-starting existing stopped cache, NPE is thrown:
23:10:27,160 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host]] (http-/192.168.1.101:8080-2) Exception sending request initialized lifecycle event to listener instance of class org.jboss.capedwarf.appidentity.GAEListener: java.lang.NullPointerException
at org.infinispan.query.impl.LifecycleManager.cacheStarted(LifecycleManager.java:125)
at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:178) [infinispan-core-5.2.0.ALPHA2.jar:5.2.0.ALPHA2]
at org.infinispan.CacheImpl.start(CacheImpl.java:523) [infinispan-core-5.2.0.ALPHA2.jar:5.2.0.ALPHA2]
at org.infinispan.AbstractDelegatingCache.start(AbstractDelegatingCache.java:343) [infinispan-core-5.2.0.ALPHA2.jar:5.2.0.ALPHA2]
at org.jboss.capedwarf.common.infinispan.InfinispanUtils.checkCache(InfinispanUtils.java:72) [capedwarf-common-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
at org.jboss.capedwarf.common.infinispan.InfinispanUtils.getCache(InfinispanUtils.java:82) [capedwarf-common-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
This is the code I added:
private static <K, V> Cache<K, V> checkCache(String cacheName) {
final Cache<K, V> cache = cacheManager.getCache(cacheName, false);
if (cache != null) {
final ComponentStatus status = cache.getStatus();
if (status != ComponentStatus.INITIALIZING && status != ComponentStatus.RUNNING) {
cache.start();
}
}
return cache;
}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (ISPN-2094) New Configuration Changes do not work properly for multi file overrides
by William Burns (JIRA)
William Burns created ISPN-2094:
-----------------------------------
Summary: New Configuration Changes do not work properly for multi file overrides
Key: ISPN-2094
URL: https://issues.jboss.org/browse/ISPN-2094
Project: Infinispan
Issue Type: Bug
Components: Configuration
Affects Versions: 5.2.0.ALPHA1
Reporter: William Burns
Assignee: Manik Surtani
In 5.1.3 I had helped provide a way for a user to pass in multiple infinispan.xml files at once to the parser. This was added with ISPN-1837.
The configuration was now changed again with ISPN-1977, which moves it over to using the staxmapper. This works fine for cache overrides with named caches. However the problem is that the overrides do not function properly for default caches. The problem is that each named cache is made after every single file. At the point of creation the named cache picks up the sofar configured default cache. This means that the named cache will not have the default values of subsequent files.
Unfortunately, I do not know if this can be fixed while still using the staxmapper.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (ISPN-2243) Cache API bulk get method
by Robert Stupp (JIRA)
Robert Stupp created ISPN-2243:
----------------------------------
Summary: Cache API bulk get method
Key: ISPN-2243
URL: https://issues.jboss.org/browse/ISPN-2243
Project: Infinispan
Issue Type: Enhancement
Components: Core API
Reporter: Robert Stupp
Assignee: Mircea Markus
Please add a method like
Map<K,V> bulkGet(Collection<K> keys);
on the Cache or BasicCache interface.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months