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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9, 2.8.1
    • None
    • None
    • Fixed an issue causing a node fail with AssertionError when throttling is activated during a checkpoint
    • 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

              akalashnikov Anton Kalashnikov
              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