karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergiy Shyrkov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-5633) Cellar: cleanup Hazelcast maps when a group is deleted
Date Wed, 21 Feb 2018 13:09:00 GMT
Sergiy Shyrkov created KARAF-5633:
-------------------------------------

             Summary: Cellar: cleanup Hazelcast maps when a group is deleted
                 Key: KARAF-5633
                 URL: https://issues.apache.org/jira/browse/KARAF-5633
             Project: Karaf
          Issue Type: Bug
          Components: cellar-hazelcast
    Affects Versions: cellar-4.1.1, cellar-4.0.4
            Reporter: Sergiy Shyrkov


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!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message