yugabyte/yugabyte-db

[yb-admin] ysql_catalog_version always returns 0

Open

#11.096 aberto em 14 de jan. de 2022

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)C (1.003 forks)batch import
area/documentationgood first issuehelp wantedkind/bugstatus/awaiting-triagetemp/docs-migration

Métricas do repositório

Stars
 (8.229 stars)
Métricas de merge de PR
 (Mesclagem média 17d 21h) (92 fundiu PRs em 30d)

Description

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.

Guia do colaborador