public synchronized void updateAccounts(List<AccountUpdateInfo> accountsInfo) throws SQLException {
    accountDao.updateAccounts(accountsInfo, config.dbExecuteBatchSize);
  }
Adds/Updates accounts and their containers to the database in batches atomically using transaction.
@param accountsInfo information of updated Accounts
@throws SQLException
ambry-account/src/main/java/com/github/ambry/account/mysql/MySqlAccountStore.java