cloudberry icon indicating copy to clipboard operation
cloudberry copied to clipboard

ERROR:CBucket.cpp:45: Failed assertion

Open liyxbeijing opened this issue 2 years ago • 0 comments

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

liyxbeijing avatar Sep 01 '23 04:09 liyxbeijing