yugabyte/yugabyte-db

[yb-admin] ysql_catalog_version always returns 0

Open

#11,096 创建于 2022年1月14日

在 GitHub 查看
 (4 评论) (0 反应) (0 负责人)C (1,003 fork)batch import
area/documentationgood first issuehelp wantedkind/bugstatus/awaiting-triagetemp/docs-migration

仓库指标

Star
 (8,229 star)
PR 合并指标
 (平均合并 17天 21小时) (30 天内合并 92 个 PR)

描述

On recent versions, yb-admin ysql_catalog_version keeps returning zero even after catalog changes. This is because it uses CatalogManager::GetYsqlCatalogConfig which reads from the legacy protobuf catalog version, not the pg_yb_catalog_version system table. Fix yb-admin to get the version from the correct source.

贡献者指南