Skip to content

Conversation

@hzxa21
Copy link
Collaborator

@hzxa21 hzxa21 commented Dec 4, 2025

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.

What's changed and what's your intention?

Add more diagnose info:

  • Resource group, database, schema list
  • Show database_id for each source/table/mv/sink
  • Show non-sensitive system parameters

Checklist

  • I have written necessary rustdoc comments.
  • I have added necessary unit tests and integration tests.
  • I have added test labels as necessary.
  • I have added fuzzing tests or opened an issue to track them.
  • My PR contains breaking changes.
  • My PR changes performance-critical code, so I will run (micro) benchmarks and present the results.
  • I have checked the Release Timeline and Currently Supported Versions to determine which release branches I need to cherry-pick this PR into.

Documentation

  • My PR needs documentation updates.
Release note

@hzxa21 hzxa21 requested review from Li0k and zwang28 December 4, 2025 09:33
@hzxa21 hzxa21 changed the title Patrick/improve diag feat: include more useful info in diagnose Dec 4, 2025
@github-actions github-actions bot added type/feature Type: New feature. and removed Invalid PR Title labels Dec 4, 2025
@hzxa21
Copy link
Collaborator Author

hzxa21 commented Dec 4, 2025

DATABASE
+----+------+----------------+---------------------+----------------------+
| id | name | resource_group | barrier_interval_ms | checkpoint_frequency |
+=========================================================================+
| 1  | dev  | default        | default             | default              |
|----+------+----------------+---------------------+----------------------|
| 6  | t    | default        | default             | default              |
+----+------+----------------+---------------------+----------------------+

STREAMING JOB
+--------+------+----------+---------+-------------+-----------------+----------------+-------------+-----------+-----------------+
| job_id | name | obj_type | state   | parallelism | max_parallelism | resource_group | database_id | schema_id | config_override |
+=================================================================================================================================+
| 11     | t1   | table    | created | adaptive    | 256             | default        | 1           | 2         |                 |
|--------+------+----------+---------+-------------+-----------------+----------------+-------------+-----------+-----------------|
| 12     | t1   | table    | created | adaptive    | 256             | default        | 6           | 7         |                 |
+--------+------+----------+---------+-------------+-----------------+----------------+-------------+-----------+-----------------+

SYSTEM PARAMS
+----------------------------------------+---------------------------------------------------------------------+
| key                                    | value                                                               |
+==============================================================================================================+
| barrier_interval_ms                    | 1000                                                                |
|----------------------------------------+---------------------------------------------------------------------|
| checkpoint_frequency                   | 1                                                                   |
|----------------------------------------+---------------------------------------------------------------------|
| state_store                            | hummock+minio://hummockadmin:[email protected]:9301/hummock001 |
|----------------------------------------+---------------------------------------------------------------------|
| data_directory                         | hummock_001                                                         |
|----------------------------------------+---------------------------------------------------------------------|
| max_concurrent_creating_streaming_jobs | 1                                                                   |
|----------------------------------------+---------------------------------------------------------------------|
| time_travel_retention_ms               | 600000                                                              |
|----------------------------------------+---------------------------------------------------------------------|
| adaptive_parallelism_strategy          | AUTO                                                                |
|----------------------------------------+---------------------------------------------------------------------|
| per_database_isolation                 | true                                                                |
+----------------------------------------+---------------------------------------------------------------------+

Copy link
Contributor

@Li0k Li0k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants