Skip to content

feat(dbha-v2): add daemon-start guard for auto-restart on crash. issu…#16415

Merged
ylgeeker merged 1 commit intoTencentBlueKing:v1.5.0from
ylgeeker:feat/dbha-v2-daemon/#16394
Mar 3, 2026
Merged

feat(dbha-v2): add daemon-start guard for auto-restart on crash. issu…#16415
ylgeeker merged 1 commit intoTencentBlueKing:v1.5.0from
ylgeeker:feat/dbha-v2-daemon/#16394

Conversation

@ylgeeker
Copy link
Collaborator

@ylgeeker ylgeeker commented Mar 2, 2026

…e: #16394

  • Add RunWithGuard and GuardOptions in process/daemon.go to watch child process and restart on abnormal exit
  • Skip SavePid in pid.go when DBHA_UNDER_GUARD is set
  • Add DaemonStartCmdRunE in process/cmds.go
  • Add daemon-start subcommand to probe, receiver, admin, analysis
  • Add config.Load in admin, receiver, analysis config packages

@ylgeeker ylgeeker force-pushed the feat/dbha-v2-daemon/#16394 branch 2 times, most recently from 77ba4b3 to 7386060 Compare March 3, 2026 06:34
TencentBlueKing#16394

- Add RunWithGuard and GuardOptions in process/daemon.go to watch child process and restart on abnormal exit
- Skip SavePid in pid.go when DBHA_UNDER_GUARD is set
- Add DaemonStartCmdRunE in process/cmds.go
- Add daemon-start subcommand to probe, receiver, admin, analysis
- Add config.Load in admin, receiver, analysis config packages
@ylgeeker ylgeeker force-pushed the feat/dbha-v2-daemon/#16394 branch from 7386060 to 8c9ac1c Compare March 3, 2026 06:42
@ylgeeker ylgeeker marked this pull request as ready for review March 3, 2026 06:42
@ylgeeker ylgeeker merged commit 7772b27 into TencentBlueKing:v1.5.0 Mar 3, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants