return a consistent value from on_all_shards

@osheroff