Skip to content

Collect trace logs in major hold RCA - #1254

Open
wayyoungboy wants to merge 1 commit into
oceanbase:masterfrom
wayyoungboy:fix-issue-1239-major-hold-trace-logs
Open

Collect trace logs in major hold RCA#1254
wayyoungboy wants to merge 1 commit into
oceanbase:masterfrom
wayyoungboy:fix-issue-1239-major-hold-trace-logs

Conversation

@wayyoungboy

Copy link
Copy Markdown
Member

Summary

  • extract trace IDs from major hold diagnose information and pending DDL tasks
  • collect matching observer.log* and rootservice.log* entries for each trace ID across observer nodes
  • report when no matching logs are found, and add unit coverage for trace log collection

Fixes #1239

Verification

  • PYTHONPATH=. python -m pytest test/rca/test_major_hold_trace_logs.py test/common/test_scene.py -q
  • black --check -S -l 256 plugins/rca/major_hold.py test/rca/test_major_hold_trace_logs.py
  • python workflow_data/check_py_files.py .
  • git diff --check

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.

[Enhancement]: rca major_hold scene adds to extract logs based on trace_id

1 participant