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

Possible extra page release when throttling and checkpoint thread store its concurrently

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9, 2.8.1
    • Component/s: None
    • Labels:
      None
    • Release Note:
      Fixed an issue causing a node fail with AssertionError when throttling is activated during a checkpoint
    • Ignite Flags:
      Docs Required, Release Notes Required

      Description

      • User thread acquire page on write release
      • Checkpoint thread sees that page was acquired
      • Throttling thread sees that page was acquired
      • Checkpoint thread saves page to disk and releases the page
      • Throttling thread understand that the page was already saved but nonetheless release this page again. - this is not ok.
        java.lang.AssertionError: null
        at org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryImpl.copyPageForCheckpoint(PageMemoryImpl.java:1181)
        at org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryImpl.checkpointWritePage(PageMemoryImpl.java:1160)
        at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager$WriteCheckpointPages.writePages(GridCacheDatabaseSharedManager.java:4868)
        at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager$WriteCheckpointPages.run(GridCacheDatabaseSharedManager.java:4792)
        ... 3 common frames omitted
        

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                akalashnikov Anton Kalashnikov
                Reporter:
                akalashnikov Anton Kalashnikov
              • Votes:
                0 Vote for this issue
                Watchers:
                5 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