Cluster lock and couple data updating before deleting namespace