Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.1
-
None
-
None
-
a ignite cluster with 2 nodes
Description
Non-collocated IgniteSet shows multiple instances of the same objects when populated from different nodes.
This code, when run twice on different nodes, results in more than 10 elements in set:
CollectionConfiguration setCfg = new CollectionConfiguration(); setCfg.setCacheMode(PARTITIONED); IgniteSet<Integer> set = ignite.set("set", setCfg); System.out.println("Set size before init: " + set.size()); for (int j = 0; j < 10; j++) { set.add(j); System.out.println(new ArrayList<>(set)); } System.out.println("Set size after init: " + set.size());
Collocated set seems to work as expected. Populating from one node also doesn't create duplicates.
Attachments
Attachments
Issue Links
- relates to
-
IGNITE-7823 Separate cache for non collocated IgniteSet.
- Resolved