Dear: The chat records of WeChat group“Apache linkis Community Development Group”are as follows:
微信群"Apache Linkis 社区开发群"的聊天记录如下: ————— 2022-6-21 ————— legendtkl 22:26 hello peace,could you please review the gray level offline of entry https://github.com/apache/incubator-linkis/pull/2317 @peacewong@WDS 和平兄,帮忙 review 下 entrance 的灰度下线 https://github.com/apache/incubator-linkis/pull/2317 peacewong@WDS 22:39 Ok,Today, after the offline test, the RPC of the information request gateway and EC that the entry is running cannot be transferred to the entry service. You may want to see how entry can gracefully go offline. No problem with other services 好的,克路兄。今天测试了下offline后,entrance正在运行的信息请求gateway和 ec的任务信息rpc转不到entrance服务了。可能要看看entrance怎么优雅下线下。其他服务没问题的 legendtkl 22:41 In this way, this PR doesn't need to be closed. Let me have a look. 这样,那这个PR先不用合,我看看 peacewong@WDS 22:47 OK, I don't think Eureka can support it very well, because the running task, status, log and other requests are fixed on the entry receiving the task. You may need to use the entry tag isolation function to achieve better performance. Put an offline routing tag on the entry service to be offline, so that the new task will not pass.. 好的,感觉Eureka没法很好支持,因为运行中的任务,的状态,日志等请求是固定在接受任务的Entrance上面的。可能需要使用entrance标签隔离的功能来实现好点,把要下线的Entrance服务打上一个offline的路由标签,让新任务不过去了。 peacewong@WDS 22:48 The information of running tasks can be forwarded normally. 正在运行的任务得信息还可以正常转发 legendtkl 22:56 This is a little more trouble than I thought. 嗯,那要麻烦一点,之前想的有的简单了 peacewong@WDS 22:59 Yes. But it's not complicated. I think we should create a restful service to support the modification of the service tag of entrence. The tag isolation function is OK. https://github.com/apache/incubator-linkis/pull/2291. 是的。不过也不复杂的。我看搞个restful出来,支持修改Entrance自身服务的标签。标签隔离这个功能已经OK了的。https://github.com/apache/incubator-linkis/pull/2291 peacewong@WDS 23:00 The gateway and RPC now rely on Eureka's registration list. If the offline or marking service is unavailable, the customer service end will not be able to access this service.. 主要现在gateway和rpc的时候依赖Eureka的注册列表,下线或者标记服务不可用客服端会刷不到这个服务了。 ————— 2022-6-22 ————— Zhaoyun赵云 06:06 Eureka supports changing the instance status. After manually changing the status, it is marked as offline. I wonder if the logic of EC has judged the status. eureka支持改实例状态,手动改状态后标记为下线,不知道你们去ec的逻辑有没有判断状态 peacewong@WDS 07:47 When the client pulls the service list by marking offline, it seems that it will also be filtered. It may be necessary to see whether the logic of client filtering adds status filtering.. 用标记下线的方式客户端拉取服务列表的时候好像也会过滤掉,可能要看看是不是客户端过滤的逻辑加了状态过滤。 Zhaoyun赵云 07:48 If it is native, it will be filtered. I don't know if you have done extra things alone 如果是原生的是会过滤的,不知道你们有没有单独做额外的事 ============