Managing a sharded cluster