[ 
https://issues.apache.org/jira/browse/IGNITE-16690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vyacheslav Koptilin updated IGNITE-16690:
-----------------------------------------
    Description: 
System views that were introduced by IGNITE-14368 are not registered in  the 
right way.
In the case of using Apache Ignite Persistence all these views are not 
registered at all due to the fact that the 
_DataStructuresProcessor.onKernalStart(boolean active)_ implementation just 
skips registering when a node starts in inactive state.

{code:java}
    /** {@inheritDoc} */
    @Override public void onKernalStart(boolean active) {
        if (ctx.config().isDaemon() || !active)
            return;

        ctx.systemView().registerView(...);

        ...
{code}

It seems to me, that the right place to register views is the 
__DataStructuresProcessor.onActivate()_ method. 

> System views for Data Structures are not registered in the right way
> --------------------------------------------------------------------
>
>                 Key: IGNITE-16690
>                 URL: https://issues.apache.org/jira/browse/IGNITE-16690
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Vyacheslav Koptilin
>            Assignee: Vyacheslav Koptilin
>            Priority: Major
>              Labels: IEP-35
>
> System views that were introduced by IGNITE-14368 are not registered in  the 
> right way.
> In the case of using Apache Ignite Persistence all these views are not 
> registered at all due to the fact that the 
> _DataStructuresProcessor.onKernalStart(boolean active)_ implementation just 
> skips registering when a node starts in inactive state.
> {code:java}
>     /** {@inheritDoc} */
>     @Override public void onKernalStart(boolean active) {
>         if (ctx.config().isDaemon() || !active)
>             return;
>         ctx.systemView().registerView(...);
>         ...
> {code}
> It seems to me, that the right place to register views is the 
> __DataStructuresProcessor.onActivate()_ method. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to