Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-13294

Page write throttling can park threads for too long

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.9
    • None
    • None
    • None

    Description

      Page write throttling incorrectly calculate average checkpoint write speed in some circumstances (gets wrong interval for calculation), this leads to parking threads for too long.

      Root cause: PagesWriteSpeedBasedThrottle.onMarkDirty() should not open new interval for speedCpWrite after PagesWriteSpeedBasedThrottle.onFinishCheckpoint() until new checkpoint begin.

      Reproducer: PagesWriteThrottleSmokeTest.testThrottle(), currently always failed in master (https://ci.ignite.apache.org/project.html?tab=testDetails&projectId=IgniteTests24Java8&testNameId=2808794487465215609&page=1&branch_IgniteTests24Java8=%3Cdefault%3E)

      Attachments

        Issue Links

          Activity

            People

              alex_pl Aleksey Plekhanov
              alex_pl Aleksey Plekhanov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m