[Bug] incosistent state of pg_operator after init CB cluster
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- C
- Star
- 1.4k
- Fork
- 273
- Merge trung bình
- 4 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 105
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của apache/cloudberry
-
isolation2 lockmodes fails on cassert builds: extra AccessShareLock on partition rootCó thể đã có người làm @tuhaihe đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
apache/cloudberry#2356 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
psql tab completion broken for storage servers, tags, profiles and resource groups (pre-PG15 query format)Có thể đã có người làm @allenvox đã nhận 5 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
apache/cloudberry#2316 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
[Bug] Expand fails to recognize user-defined tablespacesCó thể đã có người làm @nix-oss đã nhận 92 ngày trước. Đang mởtype: Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
apache/cloudberry#1885 · 2 reaction ·
Maintainer thường phản hồi trong vòng 2 ngày
-
gpexpand first stage fails: 'SyncPackages' object has no attribute 'ret' (extension sync never runs; regression)Có thể đã có người làm @talmacschen-arch đã nhận 154 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
apache/cloudberry#1825 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
type: Bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 53/100
apache/cloudberry#2350 · 1 reaction ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của apache/cloudberry
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
389ds/389-ds-base#8152 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
windows-artifacts: the win-arm64 job uses a Visual Studio generator missing from windows-11-armĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
-
documentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 91/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
wasm-micro-runtime/wasm-micro-runtime#5217 ·
Maintainer thường phản hồi trong vòng 3 ngày