release with zookeeper partitions fn