zhannngchen commented on code in PR #46748: URL: https://github.com/apache/doris/pull/46748#discussion_r1912644991
########## be/src/cloud/cloud_meta_mgr.cpp: ########## @@ -385,6 +385,10 @@ Status retry_rpc(std::string_view op_name, const Request& req, Response* res, } else if (res->status().code() == MetaServiceCode::INVALID_ARGUMENT) { return Status::Error<ErrorCode::INVALID_ARGUMENT, false>("failed to {}: {}", op_name, res->status().msg()); + } else if (res->status().code() == + MetaServiceCode::KV_TXN_CONFLICT_RETRY_EXCEEDED_MAX_TIMES) { + return Status::Error<ErrorCode::DELETE_BITMAP_LOCK_ERROR, false>( Review Comment: Why return such error for all rpc? DELETE_BITMAP_LOCK_ERROR is only used for delete bitmap lock related rpc -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org