[jira] [Commented] (IGNITE-8226) Thousands of warning messages per second in log files.

2018-05-07 Thread Pavel Kovalenko (JIRA)

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

Pavel Kovalenko commented on IGNITE-8226:
-

[~macrergate] Reasonable proposal. Not sure that it will give major performance 
impact, but can save a few time in some cases. Please file a separate ticket 
with your description and feel free to take this problem by yourself.

> Thousands of warning messages per second in log files.
> --
>
> Key: IGNITE-8226
> URL: https://issues.apache.org/jira/browse/IGNITE-8226
> Project: Ignite
>  Issue Type: Improvement
>  Components: cache
>Affects Versions: 2.4
>Reporter: Oleg Ostanin
>Assignee: Pavel Kovalenko
>Priority: Minor
> Fix For: 2.5
>
>
> Sometimes I see this message in log file:
> [2018-04-11 15:45:30,999][WARN ][sys-#454] Partition has been scheduled for 
> rebalancing due to outdated update counter 
> [nodeId=bed11708-090f-4e44-a1a7-e3d2b717fcb2, grp=cache_group_5, partId=239, 
> haveHistory=false]
> The problem is that there is about 4 messages per 2 seconds.
> Also this message:
> [2018-04-11 15:03:39,997][WARN ][sys-#75] Stale update for single partition 
> map update (will ignore) [grp=cache_group_46, exchId=null, 
> curMap=GridDhtPartitionMap [moving=1024, top=AffinityTopologyVersion 
> [topVer=4, minorTopVer=1], updateSeq=6, size=1024], 
> newMap=GridDhtPartitionMap [moving=1024, top=AffinityTopologyVersion 
> [topVer=4, minorTopVer=1], updateSeq=6, size=1024]]
> appears about 1 times per 2 seconds.
>  
> Can we move this messages to debug level or do something else?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-8226) Thousands of warning messages per second in log files.

2018-05-07 Thread Sergey Kosarev (JIRA)

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

Sergey Kosarev commented on IGNITE-8226:


[~Jokser],

thanks for removing excessive logging,  but what do you think about 
 checkpointReadLock() / checkpointReadUnlock() we have in

org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtPartitionTopologyImpl#update(org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionExchangeId,
 
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionMap,
 boolean)

currently we have something like this
{code:java}
   ctx.database().checkpointReadLock();

try {
...
if (isStaleUpdate(cur, parts)) {

return false;
}
.
}
finally {
ctx.database().checkpointReadUnlock();
}
 {code}
I suppose we'd better do not  accquire those lock for isStaleUpdate == true 
branch.

 

> Thousands of warning messages per second in log files.
> --
>
> Key: IGNITE-8226
> URL: https://issues.apache.org/jira/browse/IGNITE-8226
> Project: Ignite
>  Issue Type: Improvement
>  Components: cache
>Affects Versions: 2.4
>Reporter: Oleg Ostanin
>Assignee: Pavel Kovalenko
>Priority: Minor
> Fix For: 2.5
>
>
> Sometimes I see this message in log file:
> [2018-04-11 15:45:30,999][WARN ][sys-#454] Partition has been scheduled for 
> rebalancing due to outdated update counter 
> [nodeId=bed11708-090f-4e44-a1a7-e3d2b717fcb2, grp=cache_group_5, partId=239, 
> haveHistory=false]
> The problem is that there is about 4 messages per 2 seconds.
> Also this message:
> [2018-04-11 15:03:39,997][WARN ][sys-#75] Stale update for single partition 
> map update (will ignore) [grp=cache_group_46, exchId=null, 
> curMap=GridDhtPartitionMap [moving=1024, top=AffinityTopologyVersion 
> [topVer=4, minorTopVer=1], updateSeq=6, size=1024], 
> newMap=GridDhtPartitionMap [moving=1024, top=AffinityTopologyVersion 
> [topVer=4, minorTopVer=1], updateSeq=6, size=1024]]
> appears about 1 times per 2 seconds.
>  
> Can we move this messages to debug level or do something else?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-8226) Thousands of warning messages per second in log files.

2018-05-03 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IGNITE-8226:


Github user asfgit closed the pull request at:

https://github.com/apache/ignite/pull/3796


> Thousands of warning messages per second in log files.
> --
>
> Key: IGNITE-8226
> URL: https://issues.apache.org/jira/browse/IGNITE-8226
> Project: Ignite
>  Issue Type: Improvement
>  Components: cache
>Affects Versions: 2.4
>Reporter: Oleg Ostanin
>Assignee: Pavel Kovalenko
>Priority: Minor
> Fix For: 2.5
>
>
> Sometimes I see this message in log file:
> [2018-04-11 15:45:30,999][WARN ][sys-#454] Partition has been scheduled for 
> rebalancing due to outdated update counter 
> [nodeId=bed11708-090f-4e44-a1a7-e3d2b717fcb2, grp=cache_group_5, partId=239, 
> haveHistory=false]
> The problem is that there is about 4 messages per 2 seconds.
> Also this message:
> [2018-04-11 15:03:39,997][WARN ][sys-#75] Stale update for single partition 
> map update (will ignore) [grp=cache_group_46, exchId=null, 
> curMap=GridDhtPartitionMap [moving=1024, top=AffinityTopologyVersion 
> [topVer=4, minorTopVer=1], updateSeq=6, size=1024], 
> newMap=GridDhtPartitionMap [moving=1024, top=AffinityTopologyVersion 
> [topVer=4, minorTopVer=1], updateSeq=6, size=1024]]
> appears about 1 times per 2 seconds.
>  
> Can we move this messages to debug level or do something else?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-8226) Thousands of warning messages per second in log files.

2018-04-24 Thread Alexey Goncharuk (JIRA)

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

Alexey Goncharuk commented on IGNITE-8226:
--

Guys, I think that information about partitions scheduled for rebalancing is 
important enough to be printed in INFO level. Can we collect the partition IDs 
and print them in one line (possibly collapsing contiguous ranges like 
1,2,3,4,5 to 1-5) instead of printing out thousands of lines?

> Thousands of warning messages per second in log files.
> --
>
> Key: IGNITE-8226
> URL: https://issues.apache.org/jira/browse/IGNITE-8226
> Project: Ignite
>  Issue Type: Improvement
>  Components: cache
>Affects Versions: 2.4
>Reporter: Oleg Ostanin
>Assignee: Pavel Kovalenko
>Priority: Minor
> Fix For: 2.6
>
>
> Sometimes I see this message in log file:
> [2018-04-11 15:45:30,999][WARN ][sys-#454] Partition has been scheduled for 
> rebalancing due to outdated update counter 
> [nodeId=bed11708-090f-4e44-a1a7-e3d2b717fcb2, grp=cache_group_5, partId=239, 
> haveHistory=false]
> The problem is that there is about 4 messages per 2 seconds.
> Also this message:
> [2018-04-11 15:03:39,997][WARN ][sys-#75] Stale update for single partition 
> map update (will ignore) [grp=cache_group_46, exchId=null, 
> curMap=GridDhtPartitionMap [moving=1024, top=AffinityTopologyVersion 
> [topVer=4, minorTopVer=1], updateSeq=6, size=1024], 
> newMap=GridDhtPartitionMap [moving=1024, top=AffinityTopologyVersion 
> [topVer=4, minorTopVer=1], updateSeq=6, size=1024]]
> appears about 1 times per 2 seconds.
>  
> Can we move this messages to debug level or do something else?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-8226) Thousands of warning messages per second in log files.

2018-04-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IGNITE-8226:


GitHub user Jokser opened a pull request:

https://github.com/apache/ignite/pull/3796

IGNITE-8226 Logs minor improvement.



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/gridgain/apache-ignite ignite-8226

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/ignite/pull/3796.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #3796


commit fb9372fde043bd349ab6a1660a1b7dabb7453b46
Author: Pavel Kovalenko 
Date:   2018-04-11T15:25:12Z

IGNITE-8226 Hide not important warn messages.




> Thousands of warning messages per second in log files.
> --
>
> Key: IGNITE-8226
> URL: https://issues.apache.org/jira/browse/IGNITE-8226
> Project: Ignite
>  Issue Type: Improvement
>  Components: cache
>Reporter: Oleg Ostanin
>Assignee: Pavel Kovalenko
>Priority: Minor
> Fix For: 2.5
>
>
> Sometimes I see this message in log file:
> [2018-04-11 15:45:30,999][WARN ][sys-#454] Partition has been scheduled for 
> rebalancing due to outdated update counter 
> [nodeId=bed11708-090f-4e44-a1a7-e3d2b717fcb2, grp=cache_group_5, partId=239, 
> haveHistory=false]
> The problem is that there is about 4 messages per 2 seconds.
> Also this message:
> [2018-04-11 15:03:39,997][WARN ][sys-#75] Stale update for single partition 
> map update (will ignore) [grp=cache_group_46, exchId=null, 
> curMap=GridDhtPartitionMap [moving=1024, top=AffinityTopologyVersion 
> [topVer=4, minorTopVer=1], updateSeq=6, size=1024], 
> newMap=GridDhtPartitionMap [moving=1024, top=AffinityTopologyVersion 
> [topVer=4, minorTopVer=1], updateSeq=6, size=1024]]
> appears about 1 times per 2 seconds.
>  
> Can we move this messages to debug level or do something else?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)