[JBoss JIRA] Created: (ISPN-609) Make the JGroupsTRansport Listenable
by craig bomba (JIRA)
Make the JGroupsTRansport Listenable
------------------------------------
Key: ISPN-609
URL: https://jira.jboss.org/browse/ISPN-609
Project: Infinispan
Issue Type: Feature Request
Components: Core API
Reporter: craig bomba
Assignee: craig bomba
Priority: Minor
We needed to make the JGroupsTransport listenable. We needed events for detecting that a merge has taken place
org.infinispan.factories.EmptyConstructorFactory
Just added JGroupsTransportNotifier.class to the @DefaultFactoryFor annotation.
org.infinispan.notifications.jgroupstransport.JGroupsTransportNotifier
Interface for the JGroupsTransportNotifier notifier.
org.infinispan.notifications.jgroupstransport.JGroupsTransportNotifierImpl
The JGroupsTransportNotifier notifier implementation. Supports events for a merge.
org.infinispan.notifications.jgroupstransport.annotation.MergeViewAccepted
The bare annotations to add to JGroupsTransport listeners.
org.infinispan.notifications.jgroupstransport.event.Event
The interface for the merge view accepted event implementations.
org.infinispan.notifications.replicationqueuelistener.event.MergeViewAcceptedEvent
The event implementations.
org.infinispan.transport.Transport
Updated to implement listenable.
org.infinispan.transport.jgroups.JGroupsTransport
Updated to throw an event when a merge view is accepted.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 2 months
[JBoss JIRA] Created: (ISPN-698) DB2 - SQL Parameterization issue on FETCH FIRST ? clause
by Franck Garcia (JIRA)
DB2 - SQL Parameterization issue on FETCH FIRST ? clause
--------------------------------------------------------
Key: ISPN-698
URL: https://jira.jboss.org/browse/ISPN-698
Project: Infinispan
Issue Type: Bug
Components: Loaders and Stores
Affects Versions: 4.1.0.Final
Environment: linux ubuntu 10.04 x386 32 bits
hot spot jvm 1.6_018
DB2/400 (jdbc jtopen v 7.1)
Reporter: Franck Garcia
Assignee: Manik Surtani
When trying to pre-load a cache from a jdbc db2 store, infinispan takes the maxEntries parameter of the eviction config to limit the number of rows fetched from the db.
SELECT DATA_COLUMN, ID_COLUMN FROM MY_LUCENE_IDX_luceneIndex FETCH FIRST ? ROWS ONLY
Unfortunatelly db2 seems to not accept SQL parameterization for the FETCH FIRST x CLAUSE
java.sql.SQLException: [SQL0104] Token ? was not valid. Valid tokens: ROW ROWS. Cause . . . . . :
A syntax error was detected at token ?. Token ? is not a valid token.
A partial list of valid tokens is ROW ROWS.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 2 months
[JBoss JIRA] Created: (ISPN-691) ReplicationQueue has an out-of-order issue
by craig bomba (JIRA)
ReplicationQueue has an out-of-order issue
------------------------------------------
Key: ISPN-691
URL: https://jira.jboss.org/browse/ISPN-691
Project: Infinispan
Issue Type: Bug
Components: Core API
Affects Versions: 4.2.0.ALPHA2, 4.2.0.ALPHA1, 4.1.0.Final
Reporter: craig bomba
Assignee: craig bomba
The ReplicationQueue has an exposure to distributing items out of order. The ReplicationQueue may flush items in either of 2 ways. One way is the background thread provided by a ThreadPoolExecutor flushing on a timer. The other is via the current thread that does a put (which calls ReplicationQueue.add). In the case of the call to add if it hits the max size (set in the config by replQueueMaxElements) then items may get flushed to other nodes out of order. This is not evident when a test case only includes puts (new items or updated items in a cache). Your test must include removals to expose this concern.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 2 months