Add column descriptions in system.database_replicas#87625
Merged
vitlibar merged 1 commit intoClickHouse:masterfrom Oct 15, 2025
Merged
Add column descriptions in system.database_replicas#87625vitlibar merged 1 commit intoClickHouse:masterfrom
vitlibar merged 1 commit intoClickHouse:masterfrom
Conversation
1 task
vitlibar
approved these changes
Sep 25, 2025
Contributor
|
Workflow [PR], commit [25643bc] Summary: ❌
|
| {"log_ptr", std::make_shared<DataTypeInt32>(), "Maximum entry number in the log of general activity that the replica copied to its execution queue, plus one."}, | ||
| {"total_replicas", std::make_shared<DataTypeUInt32>(), "The total number of known replicas of this database."}, | ||
| {"zookeeper_exception", std::make_shared<DataTypeString>(), "The last exception message, got if the error happened when fetching the info from ClickHouse Keeper."}, | ||
| {"is_session_expired", std::make_shared<DataTypeUInt8>(), "The session with ClickHouse Keeper has expired. Basically the same as `is_readonly`."}}; |
Member
There was a problem hiding this comment.
Do you mean When do we need is_session_expired?
If the session is expired then fields max_log_ptr, log_ptr, total_replicas shown in table system.database_replicas are not relevant because they are read from Keeper.
Member
|
CI failures are unrelated: |
Merged
via the queue into
ClickHouse:master
with commit Oct 15, 2025
44cbdef
463 of 480 checks passed
robot-clickhouse
added a commit
that referenced
this pull request
Oct 15, 2025
vitlibar
added a commit
that referenced
this pull request
Oct 16, 2025
Backport #87625 to 25.9: Add column descriptions in system.database_replicas
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog category (leave one):