[Bug] incosistent state of pg_operator after init CB cluster

Đang mở
#2,169 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
c, postgresql
Lĩnh vực
databases

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ả

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
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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của apache/cloudberry

Tất cả issue của apache/cloudberry

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.