yugabyte/yugabyte-db
Vedi su GitHub[yb-admin] ysql_catalog_version always returns 0
Open
#11.096 aperta il 14 gen 2022
area/documentationgood first issuehelp wantedkind/bugstatus/awaiting-triagetemp/docs-migration
Metriche repository
- Star
- (8229 star)
- Metriche merge PR
- (Merge medio 17g 21h) (92 PR mergiate in 30 g)
Descrizione
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.