Vyacheslav Koptilin created IGNITE-16690:
--------------------------------------------

             Summary: 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
         Environment: 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. 
            Reporter: Vyacheslav Koptilin
            Assignee: Vyacheslav Koptilin






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

Reply via email to