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

"restorePartitionStates" always logs all meta pages into WAL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9
    • persistence
    • None
    • Docs Required, Release Notes Required

    Description

      2020-01-31T21:09:27,203 [INFO ][main][org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager] - Finished applying WAL changes [updatesApplied=11897, time=183531 ms] 2020-01-31T21:09:27,203 [INFO ][main][org.apache.ignite.internal.processors.cache.GridCacheProcessor] - Restoring partition state for local groups. 2020-01-31T21:17:49,692 [INFO ][main][org.apache.ignite.internal.processors.cache.GridCacheProcessor] - Finished restoring partition state for local groups [groupsProcessed=32, partitionsProcessed=9310, time=502498ms] 

      Main issue is that org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager#updateState unconditionally returns true. "stateId" is pretty much always not equal to "-1".

      UPDATE: that wasn’t the only problem, please look in the fix itself for more details.

      Attachments

        Issue Links

          Activity

            People

              ibessonov Ivan Bessonov
              ibessonov Ivan Bessonov
              Votes:
              0 Vote for this issue
              Watchers:
              3 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