for (Map.Entry<Message, Collection<InetAddress>> messages: entry.getValue().asMap().entrySet())
{
Message message = messages.getKey();
// a single message object is used for unhinted writes, so clean out any forwards
// from previous loop iterations
message.removeHeader(RowMutation.FORWARD_HEADER);
// direct writes to everything -- optimized nonlocal DC writes are
// postponed to 1.1; see CASSANDRA-3577
for (InetAddress destination : messages.getValue())
MessagingService.instance().sendRR(message, destination, handler);