Skip to content

0.49 topru#83

Merged
zhoucai-pingcap merged 5 commits into0.49from
0.49-topru
Mar 24, 2026
Merged

0.49 topru#83
zhoucai-pingcap merged 5 commits into0.49from
0.49-topru

Conversation

@zhoucai-pingcap
Copy link
Copy Markdown
Collaborator

Summary

Merges 0.49-topru into 0.49, bringing TopRU-related protocol/parser updates, continuous profiling (jeprof) improvements for native heap profiles, and small CI/build and sink adjustments.

Motivation

  • Align TopSQL upstream parsing and protobuf definitions with the current TiDB/TopRU expectations (tidb.proto and generated/parser code).
  • Extend native jeprof tooling to support heap_v2 profiles and fix earlier native jeprof issues.
  • Simplify release/CI matrix by dropping ARM Vector builds first (see CI/Makefile changes), and keep Docker release scripts in sync.

Changes

TopSQL / TopRU (upstream)

  • Update proto/tidb.proto and corresponding proto/parser usage in topsql and topsql_v2 (src/sources/topsql/upstream/tidb/*, src/sources/topsql_v2/upstream/tidb/*).
  • Refactor TopSQL v2 TiDB parser for consistency with the updated proto and clearer handling of record types (including component vs legacy type naming where applicable).

Conprof / jeprof (native)

  • src/sources/conprof/tools/jeprof_native.rs: native jeprof support for heap_v2, plus fixes for native jeprof behavior.

Sinks (minor)

  • topsql_data_deltalake and topsql_meta_deltalake processors: small aligned updates (4 lines each in current diff).

CI / build / release

  • .github/workflows/build_image.yml: workflow updates (including ARM-related removal per commit intent).
  • Makefile, scripts/release-docker.sh: aligned build/release adjustments.

Commits (high level)

Commit Description
7ce3e3e Fix TopRU / TiDB proto and TopSQL(v2) parser alignment
387215d Change record field to component where appropriate
6aaf6af Fix native jeprof issue
8667b91 Remove ARM vector build first (CI/Makefile)
ddbe3a1 Native jeprof: heap_v2 support

Testing

  • cargo test / project make test (or CI green on this branch)
  • Smoke: TopSQL v2 pipeline against TiDB with TopRU-enabled workloads (if applicable)
  • Conprof: ingest heap_v2 jeprof sample and verify native conversion path

Risk / rollout notes

  • Proto/parser changes may affect compatibility with specific TiDB builds; confirm the target cluster’s TopSQL gRPC/proto version matches this branch.
  • CI/build matrix change (ARM Vector removed): confirm release and image consumers no longer rely on those artifacts.

@ti-chi-bot ti-chi-bot bot added the size/XL label Mar 24, 2026
@zhoucai-pingcap zhoucai-pingcap merged commit adc7995 into 0.49 Mar 24, 2026
2 checks passed
@zhoucai-pingcap zhoucai-pingcap deleted the 0.49-topru branch March 24, 2026 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants