[JBoss JIRA] (ISPN-2766) Improve and adapt notification model to fit JSR107 notification model
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-2766?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño commented on ISPN-2766:
----------------------------------------
To summarise some of the issues highlighted in the mailing list:
* When an entry is created, no cache entry updated/modified events must be fired. Since JSR-107 notifications only support one callback, this should be done after the event, but with CacheEntryModified event, you only know if the event was for an entry created or not when isPre=false. Adding an isCreated() to CacheEntryModifiedEvent should just work.
> Improve and adapt notification model to fit JSR107 notification model
> ---------------------------------------------------------------------
>
> Key: ISPN-2766
> URL: https://issues.jboss.org/browse/ISPN-2766
> Project: Infinispan
> Issue Type: Sub-task
> Components: Listeners
> Affects Versions: 5.2.0.CR3
> Reporter: Vladimir Blagojevic
> Assignee: Galder Zamarreño
> Fix For: 6.0.0.Final
>
>
> Out current notification (listener) model does not fit JSR 107 notification model and thus needs a slight adaptation in order to implement JSR 107.
> More specifically the problem is with JSR107 CacheEntryCreatedListener and CacheEntryExpiredListener.
> The first one is not easy to implement because we need both key/value pair for jsr listener and our CacheEntryCreatedEvent does not provide value.
> The second is related to CacheEntryExpired event. True, spec is not rigorous that such an event has to be fired immediately after an entry has expired but eventually (which might be on access). However, we do not have such an event at all as of now.
>
--
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
13 years, 1 month
[JBoss JIRA] (ISPN-2766) Improve and adapt notification model to fit JSR107 notification model
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-2766?page=com.atlassian.jira.plugin.... ]
Work on ISPN-2766 started by Galder Zamarreño.
> Improve and adapt notification model to fit JSR107 notification model
> ---------------------------------------------------------------------
>
> Key: ISPN-2766
> URL: https://issues.jboss.org/browse/ISPN-2766
> Project: Infinispan
> Issue Type: Sub-task
> Components: Listeners
> Affects Versions: 5.2.0.CR3
> Reporter: Vladimir Blagojevic
> Assignee: Galder Zamarreño
> Fix For: 6.0.0.Final
>
>
> Out current notification (listener) model does not fit JSR 107 notification model and thus needs a slight adaptation in order to implement JSR 107.
> More specifically the problem is with JSR107 CacheEntryCreatedListener and CacheEntryExpiredListener.
> The first one is not easy to implement because we need both key/value pair for jsr listener and our CacheEntryCreatedEvent does not provide value.
> The second is related to CacheEntryExpired event. True, spec is not rigorous that such an event has to be fired immediately after an entry has expired but eventually (which might be on access). However, we do not have such an event at all as of now.
>
--
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
13 years, 1 month
[JBoss JIRA] (ISPN-2639) Write an adaptor for the JSR 107 API
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-2639?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño edited comment on ISPN-2639 at 2/19/13 8:56 AM:
-----------------------------------------------------------------
ISPN-2767 completed with: https://github.com/galderz/infinispan/commit/5d6e50620ef2ec0368273a2c6c30...
With this, we're currently at:
{code}Tests run: 286, Failures: 22, Errors: 1, Skipped: 0{code}
https://gist.github.com/galderz/d4efa20c087db5f136da
was (Author: galder.zamarreno):
ISPN-2767 completed with: https://github.com/galderz/infinispan/commit/5d6e50620ef2ec0368273a2c6c30...
With this, we're currently at:
{code}Tests run: 286, Failures: 22, Errors: 1, Skipped: 0{cogde}
https://gist.github.com/galderz/d4efa20c087db5f136da
> Write an adaptor for the JSR 107 API
> ------------------------------------
>
> Key: ISPN-2639
> URL: https://issues.jboss.org/browse/ISPN-2639
> Project: Infinispan
> Issue Type: Feature Request
> Reporter: Mircea Markus
> Assignee: Galder Zamarreño
> Fix For: 6.0.0.Final
>
>
> This should be a new Infinispan maven module, implement the API and pass the TCK suite as defined here: https://github.com/jsr107
--
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
13 years, 1 month
[JBoss JIRA] (ISPN-2584) BackupReceiver survives cache shutdown
by Mircea Markus (JIRA)
[ https://issues.jboss.org/browse/ISPN-2584?page=com.atlassian.jira.plugin.... ]
Mircea Markus updated ISPN-2584:
--------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/1672
> BackupReceiver survives cache shutdown
> --------------------------------------
>
> Key: ISPN-2584
> URL: https://issues.jboss.org/browse/ISPN-2584
> Project: Infinispan
> Issue Type: Bug
> Components: Cross-Site Replication
> Affects Versions: 5.2.0.Beta5
> Reporter: Radim Vansa
> Assignee: Mircea Markus
> Fix For: 5.2.2.Final, 5.3.0.Final
>
>
> When the cache manager is stopped together with all caches, the static field {{BackupReceiverRepositoryImpl.backupReceivers}} is not cleaned up. When another cache manager is started and we try to XS replicate into this node, the request reaches {{BackupReceiver}} with references to the old, stopped cache. This instance has TERMINATED ComponentRepository without {{TransactionTable}} and this results in {{NullPointerException}} in {{BackupCacheUpdater.replayModificationsInTransaction}}.
> When the cache is stopped, it should remove all references to it from the {{BackupReceiverRepositoryImpl.backupReceivers}}.
--
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
13 years, 1 month