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

ASF subversion and git services commented on GEODE-8734:
--------------------------------------------------------

Commit 790af0d473bbe2444fb896d8b77c64116c463774 in geode's branch 
refs/heads/develop from Donal Evans
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=790af0d ]

GEODE-8734: Parse netstat file to ensure correct stats are retrieved (#5764)

Authored-by: Donal Evans <doev...@vmware.com>

> LinuxProcFsStatistics.getNetStatStats() may incorrectly parse 
> /proc/net/netstat file
> ------------------------------------------------------------------------------------
>
>                 Key: GEODE-8734
>                 URL: https://issues.apache.org/jira/browse/GEODE-8734
>             Project: Geode
>          Issue Type: Bug
>          Components: statistics
>    Affects Versions: 1.12.1, 1.14.0, 1.13.1
>            Reporter: Donal Evans
>            Assignee: Donal Evans
>            Priority: Major
>              Labels: pull-request-available
>
> The current implementation of the LinuxProcFsStatistics.getNetStatStats() 
> method assumes a particular ordering of stats within the /proc/net/netstat 
> file on Linux systems and uses that assumption to parse the contents of the 
> file when writing to the stats. However, different versions of Linux produce 
> /proc/net/netstat files with the stats in different positions in the file, 
> causing the incorrect stat values to be parsed and written to Geode stats, so 
> a more robust approach is needed.



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

Reply via email to