[Bug]
Los mantenedores suelen responder en 3 días
Ya se ha fusionado un pull request relacionado.
- #2099 de @yjhjstz — fusionado
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 15/100
Línea de trabajo
Start by reproducing with the SQL in the report: create a table, run gpcheckcat on the database, then create the materialized view and run it again. The failing check is inconsistent_pg_class, which reports relmvrefcount as 1 on the coordinator (content -1) and 0 on the segments. Done means gpcheckcat is clean after the materialized view is created. Pull request #2099 is already open against this issue, so review it before starting new work.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Apache Cloudberry version
Apache Cloudberry 2.1.0-incubating build bdf90c5518f
What happened
gpcheckcat is reporting issues on a database with materialized views
Relation oid: 7016964
Relation schema: XXXX
Relation name: XXXXXX
Name of test which found this issue: inconsistent_pg_class
relmvrefcount is '1' on content -1 (XXXXXX:5432)
relmvrefcount is '0' on all other segments
Gpcheckcat is showing no errors before creation of materialized view
After a materialized view is created and run the gpcheckcat is reporting inconsistencies in pg_class
Seems like relmvrefcount is not being updated on the segments
What you think should happen instead
Either relmvrefcount is updated correctly or gpcheckcat should ignore this test. We have multiple CB clusters with multiple databases. And our daily online catalog check is failing on any database with MV
How to reproduce
CREATE TABLE public.test_table (
col1 int,
col2 int
)
DISTRIBUTED randomly;
run gpcheckcat This shows no error
CREATE MATERIALIZED VIEW public.test_table_mv
WITH (appendonly = true, blocksize='32768', compresslevel='3', compresstype=zstd, checksum='true') AS
SELECT * from public.test_table;
run gpcheckcat
Relation oid: 7018655
Relation schema: public
Relation name: test_table
Name of test which found this issue: inconsistent_pg_class
relmvrefcount is '1' on content -1 (XXXXXX:5432)
relmvrefcount is '0' on all other segments
Operating System
NAME="Red Hat Enterprise Linux" VERSION="9.7 (Plow)"
Anything else
Every time. We can reproduce this at will
Are you willing to submit PR?
- Yes, I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct.
- Lenguaje dominante
- C
- Estrellas
- 1.4k
- Forks
- 260
- Merge medio
- 4 d 5 h
- PR fusionados (30 d)
- 58
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de apache/cloudberry
-
[Bug] Expand fails to recognize user-defined tablespacesPosiblemente ocupada @nix-oss la tomó hace 57 días. Abiertotype: Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
apache/cloudberry#1885 · 2 reacciones ·
Los mantenedores suelen responder en 3 días
-
gpexpand first stage fails: 'SyncPackages' object has no attribute 'ret' (extension sync never runs; regression)Posiblemente ocupada @talmacschen-arch la tomó hace 118 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
apache/cloudberry#1825 ·
Los mantenedores suelen responder en 3 días
-
type: Bug
Dificultad 4/5 3-5 días Aptitud para principiantes 32/100
apache/cloudberry#2126 ·
Los mantenedores suelen responder en 3 días
-
[Issues] When Initializing a new Cloudberry cluster we are encountering issuesPosiblemente ocupada @yjhjstz la tomó hace 2 días. Abiertotype: Bug
Dificultad 4/5 3-5 días Aptitud para principiantes 12/100
apache/cloudberry#2101 · 7 comentarios ·
Los mantenedores suelen responder en 3 días
-
Dificultad 4/5 3-5 días Aptitud para principiantes 12/100
apache/cloudberry#2097 · 1 comentario ·
Los mantenedores suelen responder en 3 días
Todos los issues de apache/cloudberry
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
-
area:gates bug good first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
InauguralSystems/EigenScript#1782 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
fluent/fluent-bit#12579 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
obsproject/obs-studio#14036 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día