tianxiaoliang commented on a change in pull request #911: URL: https://github.com/apache/servicecomb-service-center/pull/911#discussion_r608316136
########## File path: datasource/mongo/client/dao/microservice.go ########## @@ -44,6 +67,60 @@ func GetService(ctx context.Context, filter interface{}, opts ...*options.FindOn return svc, nil } +func getServiceIDFromDB(ctx context.Context, key *discovery.MicroServiceKey) (string, error) { Review comment: 没必要加FromDB吧,难道有FromCache? -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org