/**
  * Retrieve connection for write data
  *
  * @return \Magento\Framework\DB\Adapter\AdapterInterface|false
  */
 protected function _getIndexAdapter()
 {
     if (!$this->_newIndexAdapter) {
         return parent::_getIndexAdapter();
     } else {
         return $this->_getConnection('new_write');
     }
 }