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

Race in partition state when checkpoint started at the middle of starts caches

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None
    • Docs Required

    Description

      In the method GridCacheDatabaseSharedManager#restorePartitionStates called method of creation partition at start GridDhtPartitionTopology#forceCreatePartition.

      Partitions create in MOVING state, and can be accessible to on checkpoint thread.

      By the reason checkpoint thread (GridCacheOffheapManager#saveStoreMetadata) can to read MOVING partition state and store it after GridCacheDatabaseSharedManager#restorePartitionStates completion in parallel.

      In result partition stet stored incorrect, should leads to rebalance.

      Attachments

        Activity

          People

            v.pyatkov Vladislav Pyatkov
            v.pyatkov Vladislav Pyatkov
            Votes:
            0 Vote for this issue
            Watchers:
            4 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