Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
cellar-4.0.4, cellar-4.1.1
-
None
-
None
Description
When a Cellar group is deleted, the corresponding Hazelcast maps remain there (org.apache.karaf.cellar.bundle.map.<group-name>, org.apache.karaf.cellar.repositories.<group-name>, org.apache.karaf.cellar.features.<group-name>, etc.).
In effect, when the group is created again, those maps are taken with "stale" data.
My use case:
1) Create a new group "temp"
2) Move one node (node1) to that group "temp" (the node is removed from "default" group)
3) Deploy some bundles on group "temp"
4) Remove node1 from group "temp" and bring it back to group "default"
5) Delete group "temp" (at this point the Hazelcast map date remains for that group)
6) When I create again the group "temp" and join node1, the cluster state is pulled from the old data and applied to my node1.
Thank you!