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.

貢獻者指南