[ https://issues.apache.org/jira/browse/GEODE-8734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17241729#comment-17241729 ]
ASF subversion and git services commented on GEODE-8734: -------------------------------------------------------- Commit 787b244566070050603b38e2633d3b7272e2221d in geode's branch refs/heads/support/1.12 from Donal Evans [ https://gitbox.apache.org/repos/asf?p=geode.git;h=787b244 ] GEODE-8734: Parse netstat file to ensure correct stats are retrieved (#5781) Authored-by: Donal Evans <doev...@vmware.com> (cherry picked from commit 790af0d473bbe2444fb896d8b77c64116c463774) > 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)