for (ColumnFamilyStore cfs : columnFamilyStores)
cfIds.add(cfs.metadata.cfId);
for(InetAddress neighbour : endpoints)
{
PrepareMessage message = new PrepareMessage(parentRepairSession, cfIds, ranges);
MessageOut<RepairMessage> msg = message.createMessage();
MessagingService.instance().sendRRWithFailure(msg, neighbour, callback);
}
try
{
prepareLatch.await(1, TimeUnit.HOURS);