public void doRestart ( List < Long > masters , Map < Integer , Long > partitionMasters ) { List < Long > copy = new ArrayList < Long > ( masters ) ; m_restartMasters . set ( copy ) ; m_restartMastersMap . set ( Maps . newHashMap ( partitionMasters ) ) ; }
Update the list of partition masters to be used when this transaction is restarted . Currently thread - safe because we call this before poisoning the MP Transaction to restart it and only do this sequentially from the repairing thread .