Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
levy5307 committed Feb 12, 2020
1 parent b2aff4e commit 25d5187
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,12 @@ void initTableConfiguration(query_cfg_response resp) {
}
}

// Warm up the connections during client.openTable, so RPCs thereafter can
// skip the connect process.
try {
futureGroup.waitAllCompleteOrOneFail(manager_.getTimeout());
} catch (PException e) {
logger.warn("failed to connect with some replica servers!", e);
logger.warn("failed to connect with some replica servers: ", e);
}

// there should only be one thread to do the table config update
Expand Down

0 comments on commit 25d5187

Please sign in to comment.