[Bug] incosistent state of pg_operator after init CB cluster

Aperta
#2,169 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
c, postgresql
Ambito
databases

Direzione di ricerca

Start by reading the GPCHECKCAT output and the cluster initialization path that populates pg_operator catalogs across the coordinator and segments; the issue does not name source files or tests. Compare oprrest and oprjoin for the listed operator OIDs after creating a cluster and running GPCHECKCAT -O DBNAME. Done means those catalog values match on the coordinator and all segments.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

type: Bug
Apache Cloudberry version

PostgreSQL 14.4 (Apache Cloudberry 2.1.0-incubating build dev) on x86_64-pc-linux-gnu, compiled by gcc (Astra 1.8.2) , 64-bit compiled

What happened

After we are initialyzed CBDB cluster we found some inconsistent of PG catalog by checking by run GPCHECKCAT command on main database in online mode.
We catch the next errors:
`----------------------------------------------------
Object oid: 17472
Table name: pg_operator

Name of test which found this issue: inconsistent_pg_operator
         oprrest is '5040' on content -1 (qc1.local:5432)
         oprrest is '1302' on all other segments
         oprjoin is '5041' on content -1 (qc1.local:5432)
         oprjoin is '1303' on all other segments

Object oid: 17476
Table name: pg_operator

Name of test which found this issue: inconsistent_pg_operator
         oprrest is '5040' on content -1 (qc1.local:5432)
         oprrest is '1302' on all other segments
         oprjoin is '5041' on content -1 (qc1.local:5432)
         oprjoin is '1303' on all other segments

Object oid: 17534
Table name: pg_operator

Name of test which found this issue: inconsistent_pg_operator
         oprrest is '5040' on content -1 (qc1.local:5432)
         oprrest is '1302' on all other segments
         oprjoin is '5041' on content -1 (qc1.local:5432)
         oprjoin is '1303' on all other segments

Object oid: 17477
Table name: pg_operator

Name of test which found this issue: inconsistent_pg_operator
         oprrest is '5040' on content -1 (qc1.local:5432)
         oprrest is '1302' on all other segments
         oprjoin is '5041' on content -1 (qc1.local:5432)
         oprjoin is '1303' on all other segments

Object oid: 17535
Table name: pg_operator

Name of test which found this issue: inconsistent_pg_operator
         oprrest is '5040' on content -1 (qc1.local:5432)
         oprrest is '1302' on all other segments
         oprjoin is '5041' on content -1 (qc1.local:5432)
         oprjoin is '1303' on all other segments

`

This problem was repeated every time when we are try to create CB cluster again in many times.

What you think should happen instead

Possible is was in internal cluster creating logic.

How to reproduce

After creating new Cluster try to run GPCHECKCAT -O DBNAME

Operating System

Astra 1.8.2 analog Debain 12

Anything else

Some information from PG operator on problem DB

Image
Are you willing to submit PR?
  • Yes, I am willing to submit a PR!
Code of Conduct
Lingua principale
C
Stelle
1.4k
Fork
273
Merge medio
4g 6h
PR unite (30g)
105

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di apache/cloudberry

Tutte le issue di apache/cloudberry

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.