Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.1
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
- is duplicated by
-
IGNITE-5370 IgniteSet misses its size after cluster restart with enabled PDS feature
-
- Resolved
-
- links to