Reading here about contracting a cluster: https://secure.phabricator.com/book/phabricator/article/cluster_repositories/
It says “Wait a few moments until the cluster synchronizes”. I can see the repo sync state via the UI at …/config/cluster/repositories/, which is great, but I’m trying to remove repo nodes programmatically, so ideally I’d like to check for sync status via conduit.
Is there an endpoint that returns this data?
I’ve looked a almanac.service.search, diffusion.repository.search, repository.query, and played around with transactions, to no avail.
Alternatively, if I wanted to hardcode a sleep, to allow sync to finish, any idea how long I should wait. This is a medium size org (~400 engineers) with 2 repo nodes, to give an idea of traffic.