yugabyte/yugabyte-db

[yb-admin] ysql_catalog_version always returns 0

Open

#11,096 opened on 2022年1月14日

GitHub で見る
 (4 comments) (0 reactions) (0 assignees)C (1,003 forks)batch import
area/documentationgood first issuehelp wantedkind/bugstatus/awaiting-triagetemp/docs-migration

Repository metrics

Stars
 (8,229 stars)
PR merge metrics
 (平均マージ 17d 21h) (30d で 92 merged PRs)

説明

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.

コントリビューターガイド