The only place local_dc is checked during mutation sending is in send_to_live_endpoints(), but current code pass it there throw several function call layers. Simplify the code by getting local_dc when it is used directly.