You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Luchnikov Alexander (Jira)" <ji...@apache.org> on 2023/02/01 12:27:00 UTC

[jira] [Comment Edited] (IGNITE-18534) The WalWritingRate metric is not calculated when walMode is LOG_ONLY or BACKGROUND

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

Luchnikov Alexander edited comment on IGNITE-18534 at 2/1/23 12:26 PM:
-----------------------------------------------------------------------

Results of reproducer before fix
{code:java}
[WARN ][main][] >>> REPORT: {walMode=LOG_ONLY=[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], walMode=FSYNC=[1049108, 2098258, 3145859, 4194373, 5243456, 6291815, 7339121, 8388446, 9436414, 10484015, 11532977, 12581012, 13629532, 14681087, 15726022, 16773290, 17822132, 18871023, 19918624, 20967597], walMode=BACKGROUND=[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}
{code}
after fix
{code:java}
[WARN ][main][] >>> REPORT: {walMode=LOG_ONLY=[1049506, 2096889, 3144710, 4194337, 5242085, 6289895, 7339524, 8387920, 9435820, 10483503, 11532449, 12580499, 13628020, 14676257, 15724492, 16772470, 17820948, 18868506, 19914180, 20961781], walMode=FSYNC=[1049563, 2096946, 3144826, 4193340, 5242378, 6290782, 7339017, 8387531, 9435499, 10488430, 11531195, 12580086, 13627675, 14675985, 15724801, 16772772, 17821276, 18869238, 19918129, 20971125], walMode=BACKGROUND=[1049565, 2097066, 3144887, 4194514, 5242262, 6290993, 7339346, 8386745, 9435701, 10483384, 11531866, 12579549, 13632820, 14675929, 15723864, 16772386, 17821417, 18870092, 19917693, 20966584]}
{code}
in a table view

 
||LOG_ONLY||LOG_ONLY+fix||FSYNC||FSYNC+fix||BACKGROUND||BACKGROUND+fix||
|0|1049506|1049108|1049563|0|1049565|
|0|2096889|2098258|2096946|0|2097066|
|0|3144710|3145859|3144826|0|3144887|
|0|4194337|4194373|4193340|0|4194514|
|0|5242085|5243456|5242378|0|5242262|
|0|6289895|6291815|6290782|0|6290993|
|0|7339524|7339121|7339017|0|7339346|
|0|8387920|8388446|8387531|0|8386745|
|0|9435820|9436414|9435499|0|9435701|
|0|10483503|10484015|10488430|0|10483384|
|0|11532449|11532977|11531195|0|11531866|
|0|12580499|12581012|12580086|0|12579549|
|0|13628020|13629532|13627675|0|13632820|
|0|14676257|14681087|14675985|0|14675929|
|0|15724492|15726022|15724801|0|15723864|
|0|16772470|16773290|16772772|0|16772386|
|0|17820948|17822132|17821276|0|17821417|
|0|18868506|18871023|18869238|0|18870092|
|0|19914180|19918624|19918129|0|19917693|
|0|20961781|20967597|20971125|0|20966584|

 

 


was (Author: aldoraine):
Results of reproducer befor fix
{code:java}
[WARN ][main][] >>> REPORT: {walMode=LOG_ONLY=[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], walMode=FSYNC=[1049108, 2098258, 3145859, 4194373, 5243456, 6291815, 7339121, 8388446, 9436414, 10484015, 11532977, 12581012, 13629532, 14681087, 15726022, 16773290, 17822132, 18871023, 19918624, 20967597], walMode=BACKGROUND=[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}
{code}
after fix
{code:java}
[WARN ][main][] >>> REPORT: {walMode=LOG_ONLY=[1049506, 2096889, 3144710, 4194337, 5242085, 6289895, 7339524, 8387920, 9435820, 10483503, 11532449, 12580499, 13628020, 14676257, 15724492, 16772470, 17820948, 18868506, 19914180, 20961781], walMode=FSYNC=[1049563, 2096946, 3144826, 4193340, 5242378, 6290782, 7339017, 8387531, 9435499, 10488430, 11531195, 12580086, 13627675, 14675985, 15724801, 16772772, 17821276, 18869238, 19918129, 20971125], walMode=BACKGROUND=[1049565, 2097066, 3144887, 4194514, 5242262, 6290993, 7339346, 8386745, 9435701, 10483384, 11531866, 12579549, 13632820, 14675929, 15723864, 16772386, 17821417, 18870092, 19917693, 20966584]}
{code}
in a table view

 
||LOG_ONLY||LOG_ONLY+fix||FSYNC||FSYNC+fix||BACKGROUND||BACKGROUND+fix||
|0|1049506|1049108|1049563|0|1049565|
|0|2096889|2098258|2096946|0|2097066|
|0|3144710|3145859|3144826|0|3144887|
|0|4194337|4194373|4193340|0|4194514|
|0|5242085|5243456|5242378|0|5242262|
|0|6289895|6291815|6290782|0|6290993|
|0|7339524|7339121|7339017|0|7339346|
|0|8387920|8388446|8387531|0|8386745|
|0|9435820|9436414|9435499|0|9435701|
|0|10483503|10484015|10488430|0|10483384|
|0|11532449|11532977|11531195|0|11531866|
|0|12580499|12581012|12580086|0|12579549|
|0|13628020|13629532|13627675|0|13632820|
|0|14676257|14681087|14675985|0|14675929|
|0|15724492|15726022|15724801|0|15723864|
|0|16772470|16773290|16772772|0|16772386|
|0|17820948|17822132|17821276|0|17821417|
|0|18868506|18871023|18869238|0|18870092|
|0|19914180|19918624|19918129|0|19917693|
|0|20961781|20967597|20971125|0|20966584|

 

 

> The WalWritingRate metric is not calculated when walMode is LOG_ONLY or BACKGROUND
> ----------------------------------------------------------------------------------
>
>                 Key: IGNITE-18534
>                 URL: https://issues.apache.org/jira/browse/IGNITE-18534
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.14
>            Reporter: Luchnikov Alexander
>            Assignee: Luchnikov Alexander
>            Priority: Major
>              Labels: ise
>         Attachments: IoDatastorageMetricsTest.java, patch.patch
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> The WalWritingRate metric is not calculated when walMode is LOG_ONLY or BACKGROUND.
> Reproducer  [^IoDatastorageMetricsTest.java].
> Quick fix patch  [^patch.patch].



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