You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "tonysze (JIRA)" <ji...@apache.org> on 2018/01/04 05:33:00 UTC

[jira] [Comment Edited] (IGNITE-3653) P2P doesn't work for remote filter and filter factory.

    [ https://issues.apache.org/jira/browse/IGNITE-3653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16310748#comment-16310748 ] 

tonysze edited comment on IGNITE-3653 at 1/4/18 5:32 AM:
---------------------------------------------------------

In Ignite 2.3.0, I have added the following line in org.apache.ignite.internal.processors.cache.query.continuous.CacheContinuousQueryHandler.register (line number 317):

{{        p2pUnmarshal(ctx.localNodeId(), ctx);}}

Just before:

{{        final CacheEntryEventFilter filter = getEventFilter();}}

Afterward, the RemoteFilter can be loaded, *PROVIDED* that the RemoteFilterFactory class is already available on the Server node. Continuous Query also seems working and can fail over between server nodes.

If the RemoteFilterFactory class is not available on the server node, there would be another exception. Also, I haven't ran the full set of test cases yet, so not sure if it may introduce other problems.




was (Author: tonysze):
In Ignite 2.3.0, I have added the following line in org.apache.ignite.internal.processors.cache.query.continuous.CacheContinuousQueryHandler.register (line number 317):

        p2pUnmarshal(ctx.localNodeId(), ctx);

Just before:

        final CacheEntryEventFilter filter = getEventFilter();

Afterward, the RemoteFilter can be loaded, *PROVIDED* that the RemoteFilterFactory class is already available on the Server node. Continuous Query also seems working and can fail over between server nodes.

If the RemoteFilterFactory class is not available on the server node, there would be another exception. Also, I haven't ran the full set of test cases yet, so not sure if it may introduce other problems.



> P2P doesn't work for remote filter and filter factory.
> ------------------------------------------------------
>
>                 Key: IGNITE-3653
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3653
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: 1.6
>            Reporter: Nikolay Tikhonov
>         Attachments: CCP2PTest.patch
>
>
> Remote filter and filter factory classes were not deployed on nodes which join to cluster after their initialization. Test attached.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)