private void doReadRepair() throws IOException
{
replicas_.add(FBUtilities.getLocalAddress());
IResponseResolver<Row> readResponseResolver = new ReadResponseResolver(table_, replicas_.size());
IAsyncCallback responseHandler = new DataRepairHandler(replicas_.size(), readResponseResolver);
ReadCommand readCommand = constructReadMessage(false);
Message message = readCommand.makeReadMessage();
if (logger_.isDebugEnabled())
logger_.debug("Performing read repair for " + readCommand_.key + " to " + message.getMessageId() + "@[" + StringUtils.join(replicas_, ", ") + "]");
MessagingService.instance().sendRR(message, replicas_.toArray(new InetAddress[replicas_.size()]), responseHandler);