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

Ignite TC Bot commented on IGNITE-18307:
----------------------------------------

{panel:title=Branch: [pull/10415/head] Base: [master] : No blockers 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/10415/head] Base: [master] : No new tests 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}{panel}
[TeamCity *--> Run :: All* 
Results|https://ci2.ignite.apache.org/viewLog.html?buildId=6942561&buildTypeId=IgniteTests24Java8_RunAll]

> Long wait on locHost.isReachable
> --------------------------------
>
>                 Key: IGNITE-18307
>                 URL: https://issues.apache.org/jira/browse/IGNITE-18307
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Aleksey Plekhanov
>            Assignee: Aleksey Plekhanov
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When node starts it submit background task to check if local host is 
> reachable (see {{{}GridDiagnostic#runBackgroundCheck{}}}). This check only 
> prints warning to the log in some cases, but execution of 
> {{locHost.isReachable}} method can be relatively durable (for example, on my 
> laptop it's executed for about 1 second, on TeamCity server looks like it's 
> executed for about 500 ms). This task executed asynchronously, but before 
> node stops it shut down pools and waits for this task, so start and stop of 
> the node can't  consume less time than \{{locHost.isReachable}} method.
> We have some tests, which are start the node, do some trivial work and stop 
> the node in cycle or with different parameters. Currently each cycle of such 
> a tests can consume more than one second, but actially start/stop node 
> without \{{locHost.isReachable}} and performing trivial action consumes tens 
> or hundreds of milliseconds.
> Proposal: do \{{locHost.isReachable}} check only once per JVM instance, this 
> can reduce a little time of tests run on TeamCity.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to