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

Anton Vinogradov updated IGNITE-14421:
--------------------------------------
    Description: 
Currently, we wait 5 seconds after each grep miss
{noformat}
[DEBUG - 2021-03-25 18:08:09,577 - remoteaccount - _log - lineno:160]: 
ducker@ducker11: Running ssh command: jcmd | awk 
'/org.apache.ignite.internal.ducktest.utils.IgniteAwareApplicationService/ { 
print $1 }'
[DEBUG - 2021-03-25 18:08:09,736 - remoteaccount - _log - lineno:160]: 
ducker@ducker11: Running ssh command: tail -c +1 /mnt/service/logs/console.log 
| grep 'IGNITE_APPLICATION_FINISHED\|IGNITE_APPLICATION_BROKEN'
[DEBUG - 2021-03-25 18:08:09,783 - remoteaccount - _log - lineno:160]: 
ducker@ducker11: Running ssh command: tail -c +1 /mnt/service/logs/console.log 
| grep 'IGNITE_APPLICATION_BROKEN'
[DEBUG - 2021-03-25 18:08:09,833 - remoteaccount - _log - lineno:160]: 
ducker@ducker11: Running ssh command 'tail -c +1 /mnt/service/logs/console.log 
| grep 'IGNITE_APPLICATION_BROKEN'' exited with status 1 and message: b''
[DEBUG - 2021-03-25 18:08:14,836 - remoteaccount - _log - lineno:160]: 
ducker@ducker11: Running ssh command: tail -c +1 /mnt/service/logs/console.log 
| grep 'IGNITE_APPLICATION_FINISHED'
{noformat}

Let's get rid of this {{backoff_sec=5}} by default.
Need to make it 0 if possible, or as small as possible.
Usages with defined backoff_sec should be also checked to minimization 
availability.

  was:
Currently, we wait 5 seconds after each grep miss
{noformat}
[DEBUG - 2021-03-25 18:08:09,577 - remoteaccount - _log - lineno:160]: 
ducker@ducker11: Running ssh command: jcmd | awk 
'/org.apache.ignite.internal.ducktest.utils.IgniteAwareApplicationService/ { 
print $1 }'
[DEBUG - 2021-03-25 18:08:09,736 - remoteaccount - _log - lineno:160]: 
ducker@ducker11: Running ssh command: tail -c +1 /mnt/service/logs/console.log 
| grep 'IGNITE_APPLICATION_FINISHED\|IGNITE_APPLICATION_BROKEN'
[DEBUG - 2021-03-25 18:08:09,783 - remoteaccount - _log - lineno:160]: 
ducker@ducker11: Running ssh command: tail -c +1 /mnt/service/logs/console.log 
| grep 'IGNITE_APPLICATION_BROKEN'
[DEBUG - 2021-03-25 18:08:09,833 - remoteaccount - _log - lineno:160]: 
ducker@ducker11: Running ssh command 'tail -c +1 /mnt/service/logs/console.log 
| grep 'IGNITE_APPLICATION_BROKEN'' exited with status 1 and message: b''
[DEBUG - 2021-03-25 18:08:14,836 - remoteaccount - _log - lineno:160]: 
ducker@ducker11: Running ssh command: tail -c +1 /mnt/service/logs/console.log 
| grep 'IGNITE_APPLICATION_FINISHED'
{noformat}

Let's get rid of this {{backoff_sec=5}} by default.
Need to make it 0 if possible, or as small as possible.


> Get rid of useless waiting on grep
> ----------------------------------
>
>                 Key: IGNITE-14421
>                 URL: https://issues.apache.org/jira/browse/IGNITE-14421
>             Project: Ignite
>          Issue Type: Sub-task
>            Reporter: Anton Vinogradov
>            Assignee: Anton Vinogradov
>            Priority: Major
>
> Currently, we wait 5 seconds after each grep miss
> {noformat}
> [DEBUG - 2021-03-25 18:08:09,577 - remoteaccount - _log - lineno:160]: 
> ducker@ducker11: Running ssh command: jcmd | awk 
> '/org.apache.ignite.internal.ducktest.utils.IgniteAwareApplicationService/ { 
> print $1 }'
> [DEBUG - 2021-03-25 18:08:09,736 - remoteaccount - _log - lineno:160]: 
> ducker@ducker11: Running ssh command: tail -c +1 
> /mnt/service/logs/console.log | grep 
> 'IGNITE_APPLICATION_FINISHED\|IGNITE_APPLICATION_BROKEN'
> [DEBUG - 2021-03-25 18:08:09,783 - remoteaccount - _log - lineno:160]: 
> ducker@ducker11: Running ssh command: tail -c +1 
> /mnt/service/logs/console.log | grep 'IGNITE_APPLICATION_BROKEN'
> [DEBUG - 2021-03-25 18:08:09,833 - remoteaccount - _log - lineno:160]: 
> ducker@ducker11: Running ssh command 'tail -c +1 
> /mnt/service/logs/console.log | grep 'IGNITE_APPLICATION_BROKEN'' exited with 
> status 1 and message: b''
> [DEBUG - 2021-03-25 18:08:14,836 - remoteaccount - _log - lineno:160]: 
> ducker@ducker11: Running ssh command: tail -c +1 
> /mnt/service/logs/console.log | grep 'IGNITE_APPLICATION_FINISHED'
> {noformat}
> Let's get rid of this {{backoff_sec=5}} by default.
> Need to make it 0 if possible, or as small as possible.
> Usages with defined backoff_sec should be also checked to minimization 
> availability.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to