Skip to content

Add version to sys server#18542

Merged
FrankChen021 merged 11 commits into
apache:masterfrom
GabrielCWT:gh-54-add-version-to-sys-server
Sep 25, 2025
Merged

Add version to sys server#18542
FrankChen021 merged 11 commits into
apache:masterfrom
GabrielCWT:gh-54-add-version-to-sys-server

Conversation

@GabrielCWT

Copy link
Copy Markdown
Contributor

This PR adds the Druid version information to the web console, so that each service displays the version it is running.

This is especially useful during rolling upgrades, since it allows operators to easily verify which services have been updated and to track version mismatches across the cluster.

Changes include:

  • Adding a new version column to sys.server
  • Displaying this new column in the "Services" tab.
Screenshot 2025-09-18 at 5 02 29 PM

@vogievetsky

Copy link
Copy Markdown
Contributor

Nice, this is super useful.

@GabrielCWT
GabrielCWT marked this pull request as ready for review September 19, 2025 01:15

@kfaraz kfaraz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the changes. Left some suggestions.

Comment thread docs/querying/sql-metadata-tables.md Outdated
Comment thread sql/src/test/java/org/apache/druid/sql/calcite/schema/SystemSchemaTest.java Outdated
Comment thread sql/src/test/java/org/apache/druid/sql/calcite/schema/SystemSchemaTest.java Outdated
@kfaraz

kfaraz commented Sep 24, 2025

Copy link
Copy Markdown
Contributor

There seem to be some flaky tests that were enabled in #18561
I tried to re-run the flow but they keep failing repeatedly.
Trying another re-run.

cc: @uds5501

@FrankChen021
FrankChen021 merged commit cc3b205 into apache:master Sep 25, 2025
81 of 82 checks passed
@cecemei cecemei added this to the 35.0.0 milestone Oct 21, 2025
riovic918data pushed a commit to riovic918data/druid that referenced this pull request Jun 12, 2026
* Add version to sys.servers

* Display version in services tab

* Fixing missing version assignment

* Fix format errors

* Add back removed line

* Fix based on comments

* Refactor unknown version string to constant

* Fix missing syntax

* Update tests

* Fix format

* Refactor test to use DruidNode.UNKNOWN_VERSION
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.

5 participants