-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
API: The server_id does not change even when restarted. 服务重启 server ID 标识没有改变 #3378
Comments
I tried the latest SRS container service, but the SRS serverID remained unchanged after restarting. The command to start the Docker container is:
|
The server_id is used to identify the machine, so it should not change when restart. To identify the restart of service, we need another one named
# HELP srs_build_info A metric with a constant '1' value labeled by build_date, version from which SRS was built.
# TYPE srs_build_info gauge
srs_build_info{"server":"vid-2566t9t",service="ud72id23d",pid="2846"} 1
{
"code": 0,
"server": "vid-2566t9t",
"service": "ud72id23d",
"pid": 2846,
"data": {
"major": 6,
"minor": 0,
"revision": 14,
"version": "6.0.14"
}
} |
Description
Please description your issue here
SRS Version: srs5.0.100
SRS Log:
Replay
Please describe how to replay the bug?
Step 1: Start the SRS service.
Step 2: Restart the SRS service.
Step 3: Call the server query interface again.
Expect
After the service restarts, the serverID changes.
Please describe your expectation.
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: