Skip to content

Add RCA for missing observer process - #1259

Open
wayyoungboy wants to merge 1 commit into
oceanbase:masterfrom
wayyoungboy:fix-issue-146-observer-process-rca
Open

Add RCA for missing observer process#1259
wayyoungboy wants to merge 1 commit into
oceanbase:masterfrom
wayyoungboy:fix-issue-146-observer-process-rca

Conversation

@wayyoungboy

Copy link
Copy Markdown
Member

Summary

  • add observer_process_missing RCA scene to detect missing/running observer processes on configured observer nodes
  • collect lightweight evidence: observer process snapshot, observer version output, latest observer log tail, crash/signal keyword matches, and core file candidate list
  • add unit tests for missing-process evidence, running-process start time, node filtering, and remote cleanup guard

Verification

  • PYTHONPATH=. python -m pytest test/rca/test_observer_process_missing.py test/common/test_scene.py -q
  • black --check -S -l 256 plugins/rca/observer_process_missing.py test/rca/test_observer_process_missing.py
  • git diff --check

Fixes #146

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.

[Feature]: RCA分析:OB主机上observer进程不存在

1 participant