Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
346 commits
Select commit Hold shift + click to select a range
fa68ece
Ignore distribution notice in regression tests. (#106)
higuoxing Dec 13, 2021
a45c291
Trying to make concourse happy. (#108)
higuoxing Dec 15, 2021
572e271
Print the diff files when the tests failed. (#109)
higuoxing Dec 15, 2021
3da5b31
Fix flaky test cases. NFC. (#110)
higuoxing Dec 16, 2021
6fe4309
Fix bug: table's relation_cache_entry is not be removed after vacuum …
zhrt123 Dec 20, 2021
71ac05b
Fix test case bug (#114)
zhrt123 Dec 21, 2021
87192a7
Fix bug: can not calculate the size of pg_aoblkdir_xxxx before `creat…
zhrt123 Dec 21, 2021
08ea5e9
Add UDF to show worker status (#111)
xuebinsu Dec 22, 2021
e74393b
Wait until deleted tuples are dead before VACUUM (#118)
xuebinsu Jan 19, 2022
63c6ea8
Make altered relation's oid active when performing 'VACUUM FULL'. (#116)
higuoxing Jan 19, 2022
f3d2da1
Refactor pause() to skip refreshing quota (#119)
xuebinsu Jan 20, 2022
c68c4d5
ci: create rhel8 release build. (#117)
Jan 24, 2022
e91f4dd
set the scope of pause() to current database
Sasasu Jan 24, 2022
9742762
cleanup header include
Sasasu Jan 25, 2022
62be470
re-dispatch pause status
Sasasu Jan 26, 2022
703966b
allow to re-create extension
Sasasu Jan 26, 2022
3c1d37d
use atomic on flag hardlimit_lock (#124)
Sasasu Jan 25, 2022
ed9f619
send a error if launcher crashed (#124)
Sasasu Jan 25, 2022
5b26a42
Pause before DROP EXTENSION (#121)
xuebinsu Jan 27, 2022
8759075
add test case for pause hardlimit (#128)
Sasasu Jan 27, 2022
dba819b
Attempt to fix flaky test_primary_failure (#132)
beeender Feb 9, 2022
9a3a969
ereportif uses the 1st param as the condition (#131)
beeender Feb 10, 2022
d0bdac0
add diskquota.status() to show if hardlimit or softlimit enabled or not
Sasasu Jan 26, 2022
5d57823
ci: fix flaky test
Sasasu Feb 15, 2022
8565465
Add timeout when waiting for workers (#130)
xuebinsu Feb 16, 2022
bdbd218
Add git commit message template (#141)
beeender Feb 17, 2022
d4fce7a
Use guc for hardlimit (#142)
beeender Feb 18, 2022
809c7d1
be nice with scheduler when naptime = 0 (#120)
Sasasu Feb 21, 2022
0982381
Create worker entry before starting worker (#144)
xuebinsu Feb 21, 2022
4fb028f
Extend fetch_table_stat() to update db cache (#138)
xuebinsu Feb 21, 2022
175df35
Use ytt to create pipelines (#143)
beeender Feb 21, 2022
75838f7
Specify DISTRIBUTED BY when CREATE TABLE (#146)
xuebinsu Feb 21, 2022
27756ec
Simplify the build script (#148)
beeender Feb 21, 2022
c18e4f4
Revert greenplum-db/diskquota#138 (#150)
xuebinsu Feb 22, 2022
2ea24c6
Add clang-format and editorconfig (#136)
beeender Feb 22, 2022
b495191
Extend fetch_table_stat() to update db cache v2 (#151)
xuebinsu Feb 22, 2022
ff610fa
Wait after CREATE EXTENSION (#152)
xuebinsu Feb 22, 2022
1ff8f4a
Run tests on all platforms for PR pipeline (#153)
beeender Feb 23, 2022
8c6011b
Reset naptime when test finish (#147)
beeender Feb 23, 2022
9d67e98
Fix flaky test case in isolation2/test_relation_size.sql (#123)
higuoxing Feb 24, 2022
df4aeca
Set PR pending status when start (#157)
beeender Feb 24, 2022
9480812
Update CI README for PR trigger issue (#156)
beeender Feb 25, 2022
b6e0b03
Make diskquota work for "pg_default" tablespace (#133)
liuxueyang Feb 25, 2022
00ac1df
build: use cmake as build system (#161)
Sasasu Feb 28, 2022
15bd160
rename library file to diskquota-<major.minor>.so (#162)
Sasasu Mar 3, 2022
fd5fc04
Keep the 1.0 sql the same with 1.x branch (#163)
beeender Mar 3, 2022
8eca763
Test when table is created before quota is set (#129)
xuebinsu Mar 4, 2022
40cd99c
Install the latest cmake on CI (#165)
beeender Mar 4, 2022
e7ce2da
dump cmake version to 3.18
Sasasu Mar 3, 2022
e47a22c
fix case test_ctas_no_preload_lib
Sasasu Mar 4, 2022
e717178
Cache CMAKE_INSTALL_PREFIX (#171)
beeender Mar 7, 2022
885c592
Fix empty quota view when no table (#167)
xuebinsu Mar 7, 2022
e637cd6
mc/cmake installcheck (#169)
beeender Mar 7, 2022
66d90aa
Dispatch only once for all tables when init() (#107)
zhrt123 Mar 7, 2022
efb5f95
Pack the last released so in the pipeline (#172)
beeender Mar 8, 2022
c449f38
add upgrade and downgrade test (#166)
Sasasu Mar 8, 2022
219cec4
Fix gcc warning (#175)
beeender Mar 8, 2022
e17b0ac
Remove Makefiles (#174)
beeender Mar 8, 2022
4599ab8
cmake: also link RESULTS_DIR to working dir
Sasasu Mar 8, 2022
61d5b9b
show current binary and schema version
Sasasu Mar 7, 2022
8672a69
Upload every build to GCS and add build-info (#177)
beeender Mar 10, 2022
2dfbb54
Use cmake way to add C macro defines (#178)
beeender Mar 11, 2022
a0c2e88
ci: speed up the test
Sasasu Mar 11, 2022
5a13a60
Small tuning on logs (#154)
beeender Mar 11, 2022
296014e
Update gitignore (#180)
beeender Mar 11, 2022
37cbd03
Add test cases for postmaster restart (#135)
beeender Mar 15, 2022
a41a20c
Fix memory leak when refresh_blackmap() (#182)
xuebinsu Mar 16, 2022
c278440
Format the code and add clang-format to PR pipeline (#183)
beeender Mar 17, 2022
ca04e0d
remove the in-logic version check.
Sasasu Mar 17, 2022
e97a703
ci: add upgrade version naming convention check
Sasasu Mar 16, 2022
5592a3d
Support release build (#186)
beeender Mar 21, 2022
2be3f2e
feat: github actions for clang-check ci (#185)
yihong0618 Mar 21, 2022
a69344d
Run same regress test multiple times (#188)
beeender Mar 21, 2022
8e93c09
slack-alert and PR pipeline fix (#187)
beeender Mar 22, 2022
bca59f1
Don't format errno as '%d' in error messages. (#190)
higuoxing Mar 23, 2022
0167899
fix context corrupted when dirty data exist in pg_extension
Sasasu Mar 22, 2022
f7d9b01
Fix cmake build on Mac (#191)
beeender Mar 24, 2022
3ba1fd0
Bring tests back on CI (#193)
beeender Mar 30, 2022
b672652
Missing EmitErrorReport before FlushErrorState (#155)
beeender Mar 30, 2022
642082a
Insert newline before `else` (#194)
liuxueyang Mar 31, 2022
8d1da02
Add the ytt based release pipeline (#198)
beeender Apr 1, 2022
df40c23
Use on/off in diskquota.status() (#200)
Sasasu Apr 1, 2022
9090c66
Update licenses (#195)
beeender Apr 6, 2022
acfbc06
Use released gpdb instead of release candidate (#201)
beeender Apr 8, 2022
d0be452
Fix tablespace per segment ratio (#199)
Apr 8, 2022
7a796c6
Fix un-expected remove when two tablespace-quota has a same role or s…
liuxueyang Apr 13, 2022
e462c38
Wait next loop for bgworker to refresh before INSERT in testcase (#205)
liuxueyang Apr 13, 2022
274be69
Add UDF diskquota.show_segment_ratio_quota_view (#204)
Apr 13, 2022
24a054a
clean blackmap after drop diskquota (#196)
Sasasu Apr 14, 2022
638b799
Reset memory account to fix memory leak (#203)
xuebinsu Apr 14, 2022
8f99ad1
fix test case for test_manytable (#197)
Sasasu Apr 14, 2022
bfcde8c
some fix for release CI (#206)
Sasasu Apr 16, 2022
2415ecd
Fix mistaken log statement (#207)
beeender Apr 18, 2022
d2b99c6
Fix flaky ctas_pause on release build (#210)
beeender Apr 19, 2022
d7c2b3a
Reformat quota exceeded message (#209)
beeender Apr 19, 2022
49bb10a
Fix change tablespace test case (#213)
Apr 21, 2022
e77990a
Replace "black" with "reject" for clearity (#214)
xuebinsu Apr 22, 2022
d3e5ff4
Reject set quota for system owner(#215)
Apr 25, 2022
995fa06
fix set quota with upper case object name
Sasasu Apr 18, 2022
2daf993
Hint message when launcher cannot be connected (#216)
beeender Apr 28, 2022
e1d87bb
SPI & entry clear in refresh_blackmap (#211)
beeender Apr 28, 2022
775a7b7
Minimize the risk of stale relfilenodes (#217)
xuebinsu Apr 29, 2022
6126b97
Report error if diskquota is not ready (#218)
xuebinsu May 5, 2022
c818577
Allow deleting quota for super user (#219)
May 6, 2022
6eade54
Release pipeline is publishing wrong intermediates (#221)
beeender May 30, 2022
983cdff
Bump version to 2.0.1 (#222)
beeender May 30, 2022
d7beec7
Compatible with ancient git (#223)
Sasasu May 31, 2022
512b4f7
Fix compiler version on concourse (#225)
beeender Jul 25, 2022
abb16e8
[CI] Fetch secrets from vault. (#226)
higuoxing Aug 4, 2022
72e8b79
[cmake] Use C compiler to link the target. (#230)
higuoxing Aug 23, 2022
b9ced1f
Scripts for new pipeline naming rules (#231)
beeender Aug 24, 2022
77c2935
Log readiness message only once (#229)
xuebinsu Aug 25, 2022
d112b3a
Fix flaky test due to slow worker startup (#232)
xuebinsu Aug 25, 2022
71d6c24
Downgrade severity of the readiness issue (#235)
xuebinsu Aug 31, 2022
7350bad
Fix creating artifact (#234)
beeender Aug 31, 2022
3c50e9a
Dynamic bgworker for diskquota extension
Sep 15, 2022
368b96c
Fix the test failure on release pipeline
Sep 20, 2022
beace89
Move pr/merge pipeline to dev2 (#238)
beeender Sep 22, 2022
aa09334
Combine two object_access_hook into one (#220)
Sep 26, 2022
ccdb699
Remove free writer gang in launcher (#233)
Oct 11, 2022
557dd44
Fix bug: diskquota quota usage doesn't include uncommitted table (#228)
zhrt123 Oct 18, 2022
4a7d62d
Fix flaky test (#240)
Oct 18, 2022
f40f00a
Fix flaky test test_ctas_role (#242)
Oct 19, 2022
5aa6c51
Support at least 20000 tables for each database (#239)
zhrt123 Oct 20, 2022
6599073
Reduce MAX_TABLES to 200K. (#243)
zhrt123 Oct 24, 2022
4708c83
Fix test_rejectmap flaky test (#246)
Oct 28, 2022
9df2952
Add SECURITY.md
gp-releng Oct 28, 2022
1a309cf
Add SECURITY.md (#249)
gp-releng Nov 2, 2022
46f2ad9
Rewrite the diskquota worker scheduler (#245)
Nov 8, 2022
67e8d20
Remove PR pipeline base branch (#252)
beeender Nov 8, 2022
3033041
Fix bug: relation_cache cannot isolate table info for each database (…
zhrt123 Nov 14, 2022
3d55c27
Fix flaky test (#250)
Nov 17, 2022
3703ad6
Filter the useless relation type. (#254)
zhrt123 Nov 17, 2022
4a818d8
Fix worker time out and diskquota.max_workers (#255)
Nov 18, 2022
f625e72
Fix flaky "database not found" (#256)
beeender Nov 18, 2022
47ff9ce
Change the max value of diskquota.max_workers to 20 (#257)
Nov 21, 2022
79eb4ae
Revert change of worker_schedule test becuase flaky test (#260)
Nov 21, 2022
e4f3a57
Missing pause causes deadlock flaky (#258)
beeender Nov 21, 2022
bdb2b8f
Fix memory leak when database is not ready (#262)
Nov 24, 2022
78b286c
Change the default value of GUC to reduce default memory cost. (#266)
zhrt123 Dec 1, 2022
31a7c89
Refactor TableSizeEntry to reduce memory usage. (#264)
zhrt123 Dec 2, 2022
927224f
Correct table_size_entry key (#268)
Dec 5, 2022
351d0b0
Add cmake opt DISKQUOTA_DDL_CHANGE_CHECK (#270)
beeender Dec 5, 2022
fd48084
Fix regression caused by #264 (#272)
beeender Dec 5, 2022
4977769
Add a GUC `diskquota.max_table_segments`. (#271)
zhrt123 Dec 5, 2022
3903476
Enable tests (#274)
beeender Dec 6, 2022
ce830ad
Optimize dispatching reject map to segments (#275)
Dec 8, 2022
87c6df7
Fix bug: rejectmap entries should not be removed by other databases. …
zhrt123 Dec 12, 2022
c8ad3b7
Fix diskquota worker schedule bug (#280)
Dec 12, 2022
2c5d3c3
Bump version to 2.1.1 (#283)
beeender Dec 13, 2022
2b31c66
Fix flaky test_fast_quota_view (#282)
beeender Dec 13, 2022
469d615
Fix flaky isolation2 test. (#281)
higuoxing Dec 16, 2022
10caa45
Fix compilation to support gpdb7 (#285)
zhrt123 Jan 30, 2023
610bcf7
Fix released tarball name. (#286)
higuoxing Jan 30, 2023
ec9ad11
Add an option to control whether compile with fault injector. (#287)
higuoxing Jan 30, 2023
aeca8f5
Add judgement for fault injector. (#288)
zhrt123 Jan 30, 2023
982a018
Revert "Add judgement for fault injector. (#288)" (#291)
higuoxing Jan 30, 2023
7d3d4ba
CI: Fix pipeline (#293)
zhrt123 Jan 31, 2023
52ccc42
Format code by clang-format. (#296)
zhrt123 Feb 3, 2023
6138038
Add command to compile isolation2. (#297)
zhrt123 Feb 3, 2023
057f758
Fix flaky test (#294)
zhrt123 Feb 3, 2023
c4e4d5b
Fix flaky test test_rejectmap_mul_db (#295)
Feb 6, 2023
ac3c56f
Fix bug (#298)
zhrt123 Feb 7, 2023
042393c
Enable upgrade test for CI (#299)
zhrt123 Feb 8, 2023
7d4d208
Skip fault injector case for release build (#302)
beeender Feb 9, 2023
361d006
VAR replace for Regress.cmake and fix test_rejectmap (#304)
beeender Feb 15, 2023
ba959d7
Fix update test failures caused by segid diff (#305)
beeender Feb 16, 2023
a59c7bf
Replace relation_open/relation_close with RelationIdGetRelation/Relat…
zhrt123 Feb 16, 2023
6f2bc7c
Fix flaky test of test_rejectmap_mul_db (#301)
Feb 20, 2023
765e84d
Fix test_primary_failure test case (#303)
Feb 21, 2023
a4a6993
Move files to src and control dirs. (#307)
zhrt123 Feb 22, 2023
2ce8a69
Fix gpdb release binary regex (#311)
beeender Mar 7, 2023
192cadf
Enable test_postmaster_restart (#309)
zhrt123 Mar 7, 2023
d89c724
Bump cmake min version to 3.20 (#313)
beeender Mar 16, 2023
4987165
Resource change for gpdb7 binary (#315)
beeender Mar 20, 2023
c09e3b8
Fix bug: bgworker enters infinite loop after receiving notices from Q…
zhrt123 Mar 27, 2023
6374e5c
Ignore some hint/notice for GPDB7 (#328)
zhrt123 Apr 6, 2023
c53a233
fix flaky test: test_appendonly (#327)
zhrt123 Apr 6, 2023
f3de22e
Add dbname to DiskQuotaWorkerEntry (#326)
zhrt123 Apr 6, 2023
3831b2d
Replace SPI_execute with SPI_cursor_fetch (#322)
zhrt123 Apr 6, 2023
c634a92
Split update SQL statement for diskquota.table_size (#325)
zhrt123 Apr 10, 2023
1fb8e07
Update cmake version in README. (#331)
woblerr Apr 14, 2023
e8b9103
Fix flaky test: test_appendonly (#333)
zhrt123 Apr 17, 2023
b63b20e
Skip refresh_disk_quota_model() when receiving a signal (#321)
zhrt123 Apr 26, 2023
513b4f5
Allocate more shared memory to quota_info (#334)
zhrt123 Apr 26, 2023
76268e3
Enable stanby test for 6X_STABLE (#335)
zhrt123 Apr 26, 2023
57ef007
Bump version to 2.2.1 (#336)
beeender Apr 27, 2023
8e113b4
Use install_gpdb_component in CI test (#337)
beeender Apr 27, 2023
8c0badb
Fix compiler warnings. (#339)
higuoxing May 25, 2023
d0fbbfb
Fix bug: diskquota.status() (#344)
zhrt123 Jun 26, 2023
26a5c0c
fix pipeline (#345)
zhrt123 Jun 26, 2023
3d0e89f
Reduce the number of the log in bgworker. (#346)
zhrt123 Jun 27, 2023
ae5e432
Fix bug: lose monitored_dbid_cache after switching mirror (#342)
zhrt123 Jun 27, 2023
de033a7
Enable continuous upgrade. (#340)
zhrt123 Jun 27, 2023
0afa24b
Fix pipeline. (#349)
zhrt123 Jun 28, 2023
4460b76
Fix upgrade version check (#347)
beeender Jun 28, 2023
9bb6456
Remove gp7 from pipeline (#350)
zhrt123 Jun 28, 2023
240787c
Add alter extension upgrade test (#348)
beeender Jun 28, 2023
8d90feb
Add a sleep in alter_test.sh (#351)
zhrt123 Jun 29, 2023
65258fc
Update to 2.2.2 (#352)
zhrt123 Jun 29, 2023
7e83762
Reduce the remain logs in bgworker. (#354)
zhrt123 Jul 3, 2023
5ad530d
Fix bug: bgworkers only print log once. (#356)
zhrt123 Jul 4, 2023
684ce9d
Disable forks for PR resource (#358)
beeender Jul 12, 2023
09ad9b7
Release/gp7 2.2.2 (#361)
zhrt123 Jul 28, 2023
d9dda72
Update to 2.3.0 (#362)
zhrt123 Aug 24, 2023
27b804b
Enable gpactivatestandby test (#363)
zhrt123 Aug 24, 2023
6bfb7ca
Add gpdb7 job back to pipeline. (#367)
zhrt123 Aug 24, 2023
d92871a
fix creating extension with global option appendonly=true. (#366)
zhrt123 Aug 25, 2023
d3f4d35
Fix continuous upgrade (#368)
zhrt123 Sep 8, 2023
a5a9b3a
Add GUC diskquota.max_monitored_databases. (#369)
zhrt123 Sep 12, 2023
303c75a
Fix wrong test case (#374)
zhrt123 Sep 12, 2023
9b41a14
Fix compilation issue caused by GP7 (#375)
zhrt123 Sep 12, 2023
1e478eb
Add GUC diskquota.max_quotas (#372)
zhrt123 Sep 13, 2023
74396f3
Fix bug: the counter of quota_info_map works wrong (#378)
zhrt123 Sep 15, 2023
8d10150
Fix bug: diskquota stop working after removing any extension (#379)
zhrt123 Sep 19, 2023
802967d
Disable flaky test (#384)
zhrt123 Oct 18, 2023
c25e294
Disable test_worker_schedule_exception (#385)
zhrt123 Oct 18, 2023
52c7002
Move concourse to gp-extension-ci repo (#383)
zhrt123 Oct 19, 2023
a4c9713
Fix flaky test test_relation_size. (#387)
zhrt123 Oct 19, 2023
83bc4ed
Fix wrong test result on GP6. (#388)
zhrt123 Oct 19, 2023
3faa913
Fix flaky test test_dbname_encoding (#389)
zhrt123 Oct 19, 2023
4c977bd
Refactor quota info map (#380)
zhrt123 Oct 20, 2023
91dc5ea
[CMake] Fix package name for Rocky9/RHEL9 (#391)
beeender Oct 20, 2023
4df9be7
Rename diskquota.max_quotas to diskquota.max_quota_probe (#390)
zhrt123 Oct 22, 2023
7166fa5
Fix wrong shmem allocation. (#401)
zhrt123 Nov 7, 2023
c93f558
Free tuple after use (#414)
Jan 10, 2024
a49f255
fix: update acions (#417)
yihong0618 Jan 22, 2024
902b5bd
Invalidate diskquota.table_size entries during startup (#406)
RekGRpth Mar 7, 2024
6fbb8b5
Remove legacy CI and unused files from diskquota
tuhaihe Dec 9, 2025
be81965
Add diskquota support for Apache Cloudberry
tuhaihe Dec 9, 2025
d0d8d5c
Doc: Add diskquota license for ASF compliance
tuhaihe Dec 12, 2025
f45ffc7
Fix the regex matching bug of the GUC gp_resource_group_cgroup_parent
fairyfar Feb 9, 2026
d21033f
Fix GPG verify path for staged release artifacts
tuhaihe Feb 26, 2026
c56dbaa
Fix grammar: subscribe events calendar to subscribe to the events cal…
04cb Mar 1, 2026
91a3ae4
Fix missing GUC_GPDB_NEED_SYNC for pax filter GUCs (#1590)
zhangyue1818 Mar 2, 2026
5b404af
Fix COPY FROM encoding error double-counting and enable SREH for tran…
avamingli Mar 3, 2026
9b86899
Remove generated test file misc.sql (#1600)
gfphoenix78 Mar 3, 2026
45b4449
Fix sed -i compatibility on macOS in configure (#1598)
zhangyue1818 Mar 3, 2026
235325b
Support matview status maintenance for multi-table JOIN queries
avamingli Mar 2, 2026
4e13a4e
Fix RUN_GTEST/RUN_GBENCH leak into pax.so build
zhangyue1818 Mar 2, 2026
08cdeab
Fix Oid display errors in the log or message
fairyfar Feb 28, 2026
291a255
ORCA: Fix detection of mixed storage in partitioned tables with forei…
yjhjstz Mar 5, 2026
b99451c
Fix COPY TO returning 0 rows during concurrent reorganize
gfphoenix78 Feb 25, 2026
eab4f09
Fix release tarball base version naming
tuhaihe Mar 3, 2026
f9588e8
CI: Add support for Ubuntu 24.04 Docker and DEB builds
tuhaihe Mar 11, 2026
b3f0554
Revert "Recursively create tablespace directories if they do not exis…
reshke Feb 21, 2026
384ed07
Fix replay of create database records on standby
alvherre Jul 28, 2022
a5c91b4
Fix test instability
alvherre Jul 29, 2022
908468f
fix typos & add MPP support for `allow_inplace_tablespace`
reshke Mar 10, 2026
e42fcdd
Suppress DISTRIBUTED BY notices in bfv_joins test (#1612)
Alena0704 Mar 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 13 additions & 1 deletion .github/workflows/build-cloudberry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,10 @@ jobs:
"gpcontrib/gp_toolkit:installcheck",
"gpcontrib/gp_exttable_fdw:installcheck"]
},
{"test":"ic-diskquota",
"make_configs":["gpcontrib/diskquota:installcheck"],
"shared_preload_libraries":"diskquota-2.3"
},
{"test":"ic-fixme",
"make_configs":["src/test/regress:installcheck-fixme"],
"enable_core_check":false
Expand Down Expand Up @@ -1379,7 +1383,15 @@ jobs:

{
chmod +x "${SRC_DIR}"/devops/build/automation/cloudberry/scripts/create-cloudberry-demo-cluster.sh
if ! time su - gpadmin -c "cd ${SRC_DIR} && NUM_PRIMARY_MIRROR_PAIRS='${{ matrix.num_primary_mirror_pairs }}' SRC_DIR=${SRC_DIR} ${SRC_DIR}/devops/build/automation/cloudberry/scripts/create-cloudberry-demo-cluster.sh"; then

# Build BLDWRAP_POSTGRES_CONF_ADDONS for shared_preload_libraries if specified
EXTRA_CONF=""
if [[ -n "${{ matrix.shared_preload_libraries }}" ]]; then
EXTRA_CONF="shared_preload_libraries='${{ matrix.shared_preload_libraries }}'"
echo "Adding shared_preload_libraries: ${{ matrix.shared_preload_libraries }}"
fi

if ! time su - gpadmin -c "cd ${SRC_DIR} && NUM_PRIMARY_MIRROR_PAIRS='${{ matrix.num_primary_mirror_pairs }}' BLDWRAP_POSTGRES_CONF_ADDONS=\"${EXTRA_CONF}\" SRC_DIR=${SRC_DIR} ${SRC_DIR}/devops/build/automation/cloudberry/scripts/create-cloudberry-demo-cluster.sh"; then
echo "::error::Demo cluster creation failed"
exit 1
fi
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/build-deb-cloudberry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1322,7 +1322,15 @@ jobs:

{
chmod +x "${SRC_DIR}"/devops/build/automation/cloudberry/scripts/create-cloudberry-demo-cluster.sh
if ! time su - gpadmin -c "cd ${SRC_DIR} && NUM_PRIMARY_MIRROR_PAIRS='${{ matrix.num_primary_mirror_pairs }}' SRC_DIR=${SRC_DIR} ${SRC_DIR}/devops/build/automation/cloudberry/scripts/create-cloudberry-demo-cluster.sh"; then

# Build BLDWRAP_POSTGRES_CONF_ADDONS for shared_preload_libraries if specified
EXTRA_CONF=""
if [[ -n "${{ matrix.shared_preload_libraries }}" ]]; then
EXTRA_CONF="shared_preload_libraries='${{ matrix.shared_preload_libraries }}'"
echo "Adding shared_preload_libraries: ${{ matrix.shared_preload_libraries }}"
fi

if ! time su - gpadmin -c "cd ${SRC_DIR} && NUM_PRIMARY_MIRROR_PAIRS='${{ matrix.num_primary_mirror_pairs }}' BLDWRAP_POSTGRES_CONF_ADDONS=\"${EXTRA_CONF}\" SRC_DIR=${SRC_DIR} ${SRC_DIR}/devops/build/automation/cloudberry/scripts/create-cloudberry-demo-cluster.sh"; then
echo "::error::Demo cluster creation failed"
exit 1
fi
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/docker-cbdb-build-containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ on:
- 'devops/deploy/docker/build/rocky8/**'
- 'devops/deploy/docker/build/rocky9/**'
- 'devops/deploy/docker/build/ubuntu22.04/**'
- 'devops/deploy/docker/build/ubuntu24.04/**'
pull_request:
paths:
- 'devops/deploy/docker/build/**'
Expand All @@ -77,10 +78,10 @@ jobs:
timeout-minutes: 60
runs-on: ubuntu-latest

# Matrix strategy to build for both Rocky Linux 8 and 9, Ubuntu 22.04
# Matrix strategy to build for both Rocky Linux 8 and 9, Ubuntu 22.04 and 24.04
strategy:
matrix:
platform: ['rocky8', 'rocky9', 'ubuntu22.04']
platform: ['rocky8', 'rocky9', 'ubuntu22.04', 'ubuntu24.04']

steps:
# Checkout repository code with full history
Expand Down Expand Up @@ -109,6 +110,8 @@ jobs:
- 'devops/deploy/docker/build/rocky9/**'
ubuntu22.04:
- 'devops/deploy/docker/build/ubuntu22.04/**'
ubuntu24.04:
- 'devops/deploy/docker/build/ubuntu24.04/**'

# Set up QEMU for multi-architecture support
# This allows building ARM64 images on AMD64 infrastructure and vice versa
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/docker-cbdb-test-containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ on:
- 'devops/deploy/docker/test/rocky8/**'
- 'devops/deploy/docker/test/rocky9/**'
- 'devops/deploy/docker/test/ubuntu22.04/**'
- 'devops/deploy/docker/test/ubuntu24.04/**'
pull_request:
paths:
- 'devops/deploy/docker/test/**'
Expand All @@ -66,8 +67,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
# Build for both Rocky Linux 8 and 9, Ubuntu 22.04
platform: ['rocky8', 'rocky9', 'ubuntu22.04']
# Build for Rocky Linux 8 and 9, Ubuntu 22.04 and 24.04
platform: ['rocky8', 'rocky9', 'ubuntu22.04', 'ubuntu24.04']

steps:
# Checkout repository code
Expand All @@ -93,6 +94,8 @@ jobs:
- 'devops/deploy/docker/test/rocky9/**'
ubuntu22.04:
- 'devops/deploy/docker/test/ubuntu22.04/**'
ubuntu24.04:
- 'devops/deploy/docker/test/ubuntu24.04/**'

# Skip if no changes for current platform
- name: Skip if not relevant
Expand Down
8 changes: 7 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -311,12 +311,18 @@ The Greenplum Database software includes:
gpcontrib/orafce/*
see licenses/LICENSE-orafce.txt

----------------------------
----------------------------
BSD 3 Clause License

gpcontrib/gpcloud/test/googletest
see licenses/LICENSE-googletest.txt

----------------------------
PostgreSQL License

gpcontrib/diskquota/*
see licenses/LICENSE-diskquota.txt

================================================================================
Apache Cloudberry includes codes from

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ feedback, and chat:
| New ideas / Feature Requests | Share ideas for new features, visit [GitHub Discussions - Ideas](https://github.com/apache/cloudberry/discussions/categories/ideas-feature-requests). |
| Report bugs | Problems and issues in Apache Cloudberry core. If you find bugs, welcome to submit them [here](https://github.com/apache/cloudberry/issues). |
| Report a security vulnerability | View our [security policy](https://github.com/apache/cloudberry/security/policy) to learn how to report and contact us. |
| Community events | Including meetups, webinars, conferences, and more events, visit the [Events page](https://cloudberry.apache.org/community/events) and subscribe events calendar. |
| Community events | Including meetups, webinars, conferences, and more events, visit the [Events page](https://cloudberry.apache.org/community/events) and subscribe to the events calendar. |
| Documentation | [Official documentation](https://cloudberry.apache.org/docs/) for Cloudberry. You can explore it to discover more details about us. |

## Contribution
Expand Down
9 changes: 8 additions & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -24845,4 +24845,11 @@ fi
# The configure args contain '-Wl,-rpath,\$$ORIGIN`, when it falls
# as a C literal string, it's invalid, so converting `\` to `\\`
# to be correct for C program.
sed -i '/define CONFIGURE_ARGS/s,\([^\\]\)\\\$\$,\1\\\\$$,g' src/include/pg_config.h
case $build_os in
darwin*)
sed -i '' '/define CONFIGURE_ARGS/s,\([^\\]\)\\\$\$,\1\\\\$$,g' src/include/pg_config.h
;;
*)
sed -i '/define CONFIGURE_ARGS/s,\([^\\]\)\\\$\$,\1\\\\$$,g' src/include/pg_config.h
;;
esac
4 changes: 2 additions & 2 deletions contrib/pax_storage/src/cpp/cmake/pax.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -223,14 +223,14 @@ add_custom_command(TARGET pax POST_BUILD

if (BUILD_GTEST)
add_subdirectory(contrib/googletest)
ADD_DEFINITIONS(-DRUN_GTEST)
file(GLOB test_case_sources
pax_gtest_helper.cc
pax_gtest.cc
${CMAKE_CURRENT_SOURCE_DIR}/*/*_test.cc
${CMAKE_CURRENT_SOURCE_DIR}/*/*/*_test.cc)

add_executable(test_main ${pax_target_src} ${test_case_sources})
target_compile_definitions(test_main PRIVATE RUN_GTEST)
add_dependencies(test_main ${pax_target_dependencies} gtest gmock)
target_include_directories(test_main PUBLIC ${pax_target_include} ${CMAKE_CURRENT_SOURCE_DIR} ${gtest_SOURCE_DIR}/include contrib/cpp-stub/src/ contrib/cpp-stub/src_linux/)

Expand All @@ -240,13 +240,13 @@ endif(BUILD_GTEST)

if(BUILD_GBENCH)
add_subdirectory(contrib/googlebench)
ADD_DEFINITIONS(-DRUN_GBENCH)
file(GLOB bench_sources
pax_gbench.cc
${CMAKE_CURRENT_SOURCE_DIR}/*/*_bench.cc
${CMAKE_CURRENT_SOURCE_DIR}/*/*/*_bench.cc)

add_executable(bench_main ${pax_target_src} ${bench_sources})
target_compile_definitions(bench_main PRIVATE RUN_GBENCH)
add_dependencies(bench_main ${pax_target_dependencies} gtest gmock)
target_include_directories(bench_main PUBLIC ${pax_target_include} ${CMAKE_CURRENT_SOURCE_DIR} contrib/googlebench/include contrib/cpp-stub/src/ contrib/cpp-stub/src_linux/)
link_directories(contrib/googlebench/src)
Expand Down
4 changes: 2 additions & 2 deletions contrib/pax_storage/src/cpp/comm/guc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,11 @@ void DefineGUCs() {
"enable pax filter, contains min/max and bloom "
"filters for sparse filtering",
NULL, &pax::pax_enable_sparse_filter, true,
PGC_USERSET, 0, NULL, NULL, NULL);
PGC_USERSET, GUC_GPDB_NEED_SYNC, NULL, NULL, NULL);

DefineCustomBoolVariable("pax.enable_row_filter", "enable pax row filter",
NULL, &pax::pax_enable_row_filter, false,
PGC_USERSET, 0, NULL, NULL, NULL);
PGC_USERSET, GUC_GPDB_NEED_SYNC, NULL, NULL, NULL);

DefineCustomIntVariable(
"pax.scan_reuse_buffer_size", "set the reuse buffer size", NULL,
Expand Down
Loading
Loading