-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
无损任务批量停止的服务无法下线 #109
Comments
present_state 状态值不在tarsAdminregistry这里修改,而是会调用tarsnode的stopServer接口,在tarsnode中如果正常把服务停止成功,会自己主动调用主控去修改这个状态值。这里如果字段没有更新成功, 确认下是不是tarsnode服务停止服务失败了。 |
确认进程是已经停止的。这个是必现的,无损任务停止的都提示运行中,普通停止都没问题 |
试了一下, 貌似没出现, 怎么复现? |
操作就是勾选服务的节点->批量停止->启用无损任务->确认。节点停止后->更多命令->下线服务。 |
服务无损当时停止之后,有在管理平台上面看服务的当前状态吗?是否为inactive? |
停止后是3个Inactive。
|
下线的时候提示
运行中的服务无法下线
看了下是这里的代码没有更新
present_state
字段的值导致的,由于不清楚为什么不更新这个字段的逻辑,就不直接提PR了TarsFramework/AdminRegistryServer/AdminRegistryImp.cpp
Line 506 in 5e9501c
The text was updated successfully, but these errors were encountered: