[Bug] incosistent state of pg_operator after init CB cluster
Maintainer antworten meist innerhalb von 2 Tagen
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 45/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
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.
- Vorherrschende Sprache
- C
- Sterne
- 1.4k
- Forks
- 273
- Ø Merge
- 4 T. 6 Std.
- Gemergte PRs (30 T.)
- 105
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus apache/cloudberry
-
isolation2 lockmodes fails on cassert builds: extra AccessShareLock on partition rootEvtl. vergeben @tuhaihe hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
apache/cloudberry#2356 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
psql tab completion broken for storage servers, tags, profiles and resource groups (pre-PG15 query format)Evtl. vergeben @allenvox hat das vor 5 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
apache/cloudberry#2316 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
[Bug] Expand fails to recognize user-defined tablespacesEvtl. vergeben @nix-oss hat das vor 92 Tagen übernommen. Offentype: Bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
apache/cloudberry#1885 · 2 Reaktionen ·
Maintainer antworten meist innerhalb von 2 Tagen
-
gpexpand first stage fails: 'SyncPackages' object has no attribute 'ret' (extension sync never runs; regression)Evtl. vergeben @talmacschen-arch hat das vor 154 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 86/100
apache/cloudberry#1825 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
type: Bug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 53/100
apache/cloudberry#2350 · 1 Reaktion ·
Maintainer antworten meist innerhalb von 2 Tagen
Alle Issues in apache/cloudberry
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
OpenPrinting/cups#1826 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
389ds/389-ds-base#8152 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
RetroAchievements/rcheevos#580 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 5 Tagen
-
meta:feature-request
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
mpv-player/mpv#18855 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag