[infinispan-issues] [JBoss JIRA] (ISPN-9155) Clear should not emit listener notifications

Adrian Nistor (JIRA) issues at jboss.org
Mon Jun 4 15:47:00 EDT 2018


    [ https://issues.jboss.org/browse/ISPN-9155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13586393#comment-13586393 ] 

Adrian Nistor commented on ISPN-9155:
-------------------------------------

-1000 for not emitting notifications for clear(). That will break continuous query.

If for whatever reason we decide we do not want notifications being emitted, that should not be the default case; it should maybe be specifically requested by a performance-concerned user by using SKIP_LISTENER_NOTIFICATIONS as [~dan.berindei] pointed out.

Please remember these notifications during clear were added some major versions ago and were regarded as an improvement (and we bragged about it in release notes) and now we're taking them out :(.

> Clear should not emit listener notifications
> --------------------------------------------
>
>                 Key: ISPN-9155
>                 URL: https://issues.jboss.org/browse/ISPN-9155
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Listeners, Remote Protocols
>            Reporter: Galder Zamarreño
>            Assignee: Galder Zamarreño
>              Labels: redhat-summit-18
>             Fix For: 9.3.0.CR1, 9.3.0.Final
>
>
> JCache does not emit notifications on clear(). We shouldn't either.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the infinispan-issues mailing list