Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
None
-
None
-
None
Description
If we use kubernetes session mode and use Zookeeper(ZK) as the HA service, the HA data on ZK is not cleared after the session stops.
Because when deleting a session, only call this method:
kubernetesClusterDescriptor.killCluster(clusterId);
However, this method only deletes the deployment associated with the clusterId. If ZK is used as the HA service, data on ZK will be left over when the HA stops, resulting in more and more data on zk.
Maybe we need to add
ClusterClient#shutDownCluster()
or
HighAvailabilityServices#closeAndCleanupAllData()
When using session mode (native kubernetes)
Attachments
Issue Links
- is duplicated by
-
FLINK-20219 Rethink the HA related ZNodes/ConfigMap clean up for session cluster
- Open