IGNITE-5123

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

IGNITE-5123

Evgeniy Ignatiev
Hello, Igniters.

Looking at the ticket https://issues.apache.org/jira/browse/IGNITE-5123,
the IgniteKernal#start notifies plugin providers, calling
PluginProvider#onIgniteStart, before components are notified, when
caches are created in GridCacheProcessor#onIgniteStart. Does it make
sense to move plugin providers notification after components are
notified, probably right before lifecycle beans notification, so to
ensure that caches are started before PluginProvider#onIgniteStart
method is called?


Reply | Threaded
Open this post in threaded view
|

Re: IGNITE-5123

Evgeniy Ignatiev
As it is explicitly stated in Javadoc of PluginProvider#onIgniteStart
that all internal components should be started before this method is
called, which is not true, as internal component callbacks are called
right after the PluginProvider#onIgniteStart.

On 7/2/2017 12:58 PM, Evgeniy Ignatiev wrote:

> Hello, Igniters.
>
> Looking at the ticket
> https://issues.apache.org/jira/browse/IGNITE-5123, the
> IgniteKernal#start notifies plugin providers, calling
> PluginProvider#onIgniteStart, before components are notified, when
> caches are created in GridCacheProcessor#onIgniteStart. Does it make
> sense to move plugin providers notification after components are
> notified, probably right before lifecycle beans notification, so to
> ensure that caches are started before PluginProvider#onIgniteStart
> method is called?
>
>

Reply | Threaded
Open this post in threaded view
|

Re: IGNITE-5123

Evgeniy Ignatiev
Would you mind if I pick the
https://issues.apache.org/jira/browse/IGNITE-5123 and place
PluginProvider#onIgniteStart after the component callbacks are called to
comply with its Javadoc?


On 04.07.2017 18:06, Evgeniy Ignatiev wrote:

> As it is explicitly stated in Javadoc of PluginProvider#onIgniteStart
> that all internal components should be started before this method is
> called, which is not true, as internal component callbacks are called
> right after the PluginProvider#onIgniteStart.
>
> On 7/2/2017 12:58 PM, Evgeniy Ignatiev wrote:
>> Hello, Igniters.
>>
>> Looking at the ticket
>> https://issues.apache.org/jira/browse/IGNITE-5123, the
>> IgniteKernal#start notifies plugin providers, calling
>> PluginProvider#onIgniteStart, before components are notified, when
>> caches are created in GridCacheProcessor#onIgniteStart. Does it make
>> sense to move plugin providers notification after components are
>> notified, probably right before lifecycle beans notification, so to
>> ensure that caches are started before PluginProvider#onIgniteStart
>> method is called?
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: IGNITE-5123

Evgeniy Ignatiev
Provided a patch - https://github.com/apache/ignite/pull/2285, the
change is straight-forward - simply placed PluginProvider#onIgniteStart
right after components #onKernalStart callbacks are called. In basic
test suite (as I can see it includes platform and plugin tests) -
http://ci.ignite.apache.org/viewLog.html?buildId=720722&tab=buildResultsDiv&buildTypeId=IgniteTests_IgniteBasic 
there seem to be no new failed platform tests, other failed tests seem
to fail in several other reviews too and be unrelated to my changes.

Would you be so kind to review my pull-request?

Best regards,

Evgeniy.

On 05.07.2017 12:35, Evgeniy Ignatiev wrote:

> Would you mind if I pick the
> https://issues.apache.org/jira/browse/IGNITE-5123 and place
> PluginProvider#onIgniteStart after the component callbacks are called
> to comply with its Javadoc?
>
>
> On 04.07.2017 18:06, Evgeniy Ignatiev wrote:
>> As it is explicitly stated in Javadoc of PluginProvider#onIgniteStart
>> that all internal components should be started before this method is
>> called, which is not true, as internal component callbacks are called
>> right after the PluginProvider#onIgniteStart.
>>
>> On 7/2/2017 12:58 PM, Evgeniy Ignatiev wrote:
>>> Hello, Igniters.
>>>
>>> Looking at the ticket
>>> https://issues.apache.org/jira/browse/IGNITE-5123, the
>>> IgniteKernal#start notifies plugin providers, calling
>>> PluginProvider#onIgniteStart, before components are notified, when
>>> caches are created in GridCacheProcessor#onIgniteStart. Does it make
>>> sense to move plugin providers notification after components are
>>> notified, probably right before lifecycle beans notification, so to
>>> ensure that caches are started before PluginProvider#onIgniteStart
>>> method is called?
>>>
>>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: IGNITE-5123

Anton Vinogradov
Hi,

Thanks for interest to Apache Ignite development.

I'd like to propose you to make direct "review request".
This should help to speedup review process, you can find tips here:
https://cwiki.apache.org/confluence/display/IGNITE/How+to+Contribute#
HowtoContribute-SubmittingforReview

On Wed, Jul 12, 2017 at 1:48 PM, Evgeniy Ignatiev <
[hidden email]> wrote:

> Provided a patch - https://github.com/apache/ignite/pull/2285, the change
> is straight-forward - simply placed PluginProvider#onIgniteStart right
> after components #onKernalStart callbacks are called. In basic test suite
> (as I can see it includes platform and plugin tests) -
> http://ci.ignite.apache.org/viewLog.html?buildId=720722&tab=
> buildResultsDiv&buildTypeId=IgniteTests_IgniteBasic there seem to be no
> new failed platform tests, other failed tests seem to fail in several other
> reviews too and be unrelated to my changes.
>
> Would you be so kind to review my pull-request?
>
> Best regards,
>
> Evgeniy.
>
>
> On 05.07.2017 12:35, Evgeniy Ignatiev wrote:
>
>> Would you mind if I pick the https://issues.apache.org/jira
>> /browse/IGNITE-5123 and place PluginProvider#onIgniteStart after the
>> component callbacks are called to comply with its Javadoc?
>>
>>
>> On 04.07.2017 18:06, Evgeniy Ignatiev wrote:
>>
>>> As it is explicitly stated in Javadoc of PluginProvider#onIgniteStart
>>> that all internal components should be started before this method is
>>> called, which is not true, as internal component callbacks are called right
>>> after the PluginProvider#onIgniteStart.
>>>
>>> On 7/2/2017 12:58 PM, Evgeniy Ignatiev wrote:
>>>
>>>> Hello, Igniters.
>>>>
>>>> Looking at the ticket https://issues.apache.org/jira/browse/IGNITE-5123,
>>>> the IgniteKernal#start notifies plugin providers, calling
>>>> PluginProvider#onIgniteStart, before components are notified, when caches
>>>> are created in GridCacheProcessor#onIgniteStart. Does it make sense to
>>>> move plugin providers notification after components are notified, probably
>>>> right before lifecycle beans notification, so to ensure that caches are
>>>> started before PluginProvider#onIgniteStart method is called?
>>>>
>>>>
>>>>
>>>
>>
>