deardeng commented on code in PR #32267:
URL: https://github.com/apache/doris/pull/32267#discussion_r1527690275
##########
fe/fe-core/src/main/java/org/apache/doris/cloud/datasource/CloudInternalCatalog.java:
##########
@@ -497,12 +497,21 @@ public void commitMaterializedIndex(Long tableId,
List<Long> indexIds) throws Dd
if (LOG.isDebugEnabled()) {
LOG.debug("send create tablets rpc, createTabletsReq: {}",
createTabletsReq);
}
- Cloud.CreateTabletsResponse response;
- try {
- response =
MetaServiceProxy.getInstance().createTablets(createTabletsReq);
- } catch (RpcException e) {
- LOG.warn("failed to send create tablets rpc {}", e.getMessage());
- throw new RuntimeException(e);
+ Cloud.CreateTabletsResponse response = null;
+ int tryTimes = 0;
+ while (tryTimes++ < Config.meta_service_rpc_retry_times) {
+ try {
+ response =
MetaServiceProxy.getInstance().createTablets(createTabletsReq);
Review Comment:
1. 这个rpc 漏掉retry了
2. 509的和其他rpc retry 写法一致的
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]