apache / apache/cloudberry

ERROR:CBucket.cpp:45: Failed assertion

Aperta
#178 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
type: Bug
Lingua principale
C
Stelle
1.4k
Fork
247
Merge medio
4g 3h
PR unite (30g)
39

Descrizione

### Cloudberry Database version

```
version

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------
PostgreSQL 14.4 (Cloudberry Database 1.4.0 build commit:e83e3ffc22d538deb2dbceeeae0138ca2de064e6) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 10.2.1 20210130 (Red Hat 1
0.2.1-11), 64-bit compiled on Aug 3 2023 10:15:47
(1 row)

```

### What happened

Many of such errors are found in master logs:

```
2023-08-31 03:30:03.751312 CST,""36628",2023-08-31 03:30:01 CST,1863023,con6198,cmd64,seg-1,,dx1842062,x1863023,sx1,"LOG","00000","2023-08-31 03:30:03:750889 CST,THD000,ERROR,""CBucket.cpp:45: Failed assertion: 0.0 <= m_distinct
Stack trace:
1 0x0000000000e0ce40 gpos::CException::Raise + 256
2 0x0000000000eeae90 gpnaucrates::CBucket::CBucket + 144
"",
2023-08-31 03:30:03:751231 CST,THD000,ERROR,""CBucket.cpp:45: Failed assertion: 0.0 <= m_distinct
Stack trace:
1 0x0000000000e0ce40 gpos::CException::Raise + 256
2 0x0000000000eeae90 gpnaucrates::CBucket::CBucket + 144
"",
",,,,,"SQL statement ""insert into

```

looks this is not happening due to one specific operation:

Please help to have a check, thanks.

### What you think should happen instead

_No response_

### How to reproduce

N/A

### Operating System

centos 7.9

### Anything else

_No response_

### Are you willing to submit PR?

- [ ] Yes, I am willing to submit a PR!

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://cloudberrydb.org/community/coc).

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Iniziare con i dettagli di PostgreSQL 14.4 e Cloudberry 1.4.0 nel report, quindi esaminare l’assertion e lo stack trace in CBucket.cpp:45 e il costruttore di gpnaucrates::CBucket. Stabilire quale operazione produce l’errore nel master-log, identificare un caso riproducibile e verificare che l’assertion non si verifichi più con una copertura di regressione.

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

Valutazione

Stack tecnologico
cpp, postgresql
Ambito
databases, distributed-systems
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.