[Bug]
I maintainer di solito rispondono entro 3 giorni
Una pull request collegata è già stata integrata.
- #2099 di @yjhjstz — integrata
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 15/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- C
- Stelle
- 1.4k
- Fork
- 260
- Merge medio
- 4g 52m
- PR unite (30g)
- 51
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di apache/cloudberry
-
[Bug] Expand fails to recognize user-defined tablespacesForse già presa @nix-oss l’ha presa 55 giorni fa. Apertatype: Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
apache/cloudberry#1885 · 2 reazioni ·
I maintainer di solito rispondono entro 3 giorni
-
gpexpand first stage fails: 'SyncPackages' object has no attribute 'ret' (extension sync never runs; regression)Forse già presa @talmacschen-arch l’ha presa 116 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
apache/cloudberry#1825 ·
I maintainer di solito rispondono entro 3 giorni
-
[Issues] When Initializing a new Cloudberry cluster we are encountering issuesForse già presa @yjhjstz l’ha presa oggi. Apertatype: Bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 12/100
apache/cloudberry#2101 · 7 commenti ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 12/100
apache/cloudberry#2097 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni
-
type: Bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 22/100
apache/cloudberry#2091 ·
I maintainer di solito rispondono entro 3 giorni
Tutte le issue di apache/cloudberry
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
Xinyuan-LilyGO/T-Display-S3#352 · 3 commenti ·
-
documentation severity/minor
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
docs: AGENTS.md has no rule against running deploy scripts into the owner's game installForse già presa @thesprockee l’ha presa oggi. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
EchoTools/nevr-runtime#524 ·
I maintainer di solito rispondono entro 1 giorno
-
python library: btc_sign() sends antiklepto host nonce for taproot miniscript (tr() policy) inputs because is_taproot() only recognizes simple P2TRForse già presa @benma-agent l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
BitBoxSwiss/bitbox02-firmware#2145 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 74/100
Genymobile/scrcpy#7097 ·
I maintainer di solito rispondono entro 1 giorno