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

Ignite PDS 2: IgnitePersistentStoreDataStructuresTest testSet assertion error

    XMLWordPrintableJSON

    Details

      Description

      Notes-4435

      When IgniteSet is restored from persistence, size of set is always 0, link to test history.

      Detailed description

      Unlike IgniteQueue which uses separate cache key to store its size IgniteSet stores it in a field of some class.
      Test from the link above shows very clearly that after restoring memory state from PDS all set values are restored correctly but size is lost.

      Proposed solution

      One possible solution might be to do the same thing as IgniteQueue does: size of IgniteSet must be stored is cache instead of volatile in-memory fields of random classes.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                xtern Pavel Pereslegin
                Reporter:
                dpavlov Dmitry Pavlov
              • Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: