On 9/7/2021 3:08 PM, Shawn Heisey wrote:
I don't think there's a reliable way of asking Solr to tell you when all replications are complete.
You could use the replication handler (/solr/corename/replication) to gather this info and compare info from the leader index with info from the follower index(es). For this to be reliable, you would need to check clusterstate in ZK so you're absolutely sure which cores are leaders. I do not know off the top of my head what parameters need to be sent to the replication handler to gather that info.
Thanks, Shawn