AMBARI-6046. Lags on Assign Masters step on big cluster. (onechiporenko)