apache / apache/servicecomb-java-chassis

[BUG] - [3.2.2] 注册中心异常重启后,服务实例虽然重新注册了,但是实例在注册中心的状态会一直处于STARTING

Open
#4,744 3 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Java
Stars
1.9k
Forks
814
Avg merge
8d 23h
Merged PRs (30d)
1

Description

### Steps to Reproduce

1. sdk版本为3.2.0
2. 当前版本的注册逻辑为在SCBEngine中在registrationManager.run执行完后,将注册中心的服务实例状态改为UP
3. 但是当注册中心异常重启后,服务重新注册时,并不会再修改注册中心服务实例的状态,从而导致注册中心中,服务实例的状态一直是STARTING

### Expected Behavior

注册中心异常后,服务实例重新注册能够将状态修改为UP

### Servicecomb Version
sdk版本为3.2.0

### Additional Context

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in SCBEngine around the registrationManager.run flow described in the issue, then trace what happens when a service registers again after the registry restarts. Confirm that re-registration also updates the registry instance state to UP rather than leaving it at STARTING. Reproduce the restart and re-registration sequence to verify the final state.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, distributed-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.