Skip to content
Merged

Test #30

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
350 commits
Select commit Hold shift + click to select a range
ff47b1e
Fix bug: table's relation_cache_entry is not be removed after vacuum …
zhrt123 Dec 20, 2021
3c3a6fd
Fix test case bug (#114)
zhrt123 Dec 21, 2021
ada901c
Fix bug: can not calculate the size of pg_aoblkdir_xxxx before `creat…
zhrt123 Dec 21, 2021
9786cd3
Add UDF to show worker status (#111)
xuebinsu Dec 22, 2021
c0b6c67
Wait until deleted tuples are dead before VACUUM (#118)
xuebinsu Jan 19, 2022
6ea4485
Make altered relation's oid active when performing 'VACUUM FULL'. (#116)
higuoxing Jan 19, 2022
415d16a
Refactor pause() to skip refreshing quota (#119)
xuebinsu Jan 20, 2022
96e272a
ci: create rhel8 release build. (#117)
Jan 24, 2022
ac514c0
set the scope of pause() to current database
Sasasu Jan 24, 2022
bfe30e9
cleanup header include
Sasasu Jan 25, 2022
23640bf
re-dispatch pause status
Sasasu Jan 26, 2022
fd30e34
allow to re-create extension
Sasasu Jan 26, 2022
11c2eb9
use atomic on flag hardlimit_lock (#124)
Sasasu Jan 25, 2022
689ce96
send a error if launcher crashed (#124)
Sasasu Jan 25, 2022
5a47086
Pause before DROP EXTENSION (#121)
xuebinsu Jan 27, 2022
f98478a
add test case for pause hardlimit (#128)
Sasasu Jan 27, 2022
483451a
Attempt to fix flaky test_primary_failure (#132)
beeender Feb 9, 2022
262b34e
ereportif uses the 1st param as the condition (#131)
beeender Feb 10, 2022
3bf0328
add diskquota.status() to show if hardlimit or softlimit enabled or not
Sasasu Jan 26, 2022
67a4be7
ci: fix flaky test
Sasasu Feb 15, 2022
d9f1a1a
Add timeout when waiting for workers (#130)
xuebinsu Feb 16, 2022
ac7e1d9
Add git commit message template (#141)
beeender Feb 17, 2022
81e7fe2
Use guc for hardlimit (#142)
beeender Feb 18, 2022
469fc0d
be nice with scheduler when naptime = 0 (#120)
Sasasu Feb 21, 2022
aba3df8
Create worker entry before starting worker (#144)
xuebinsu Feb 21, 2022
37ff249
Extend fetch_table_stat() to update db cache (#138)
xuebinsu Feb 21, 2022
dae6baf
Use ytt to create pipelines (#143)
beeender Feb 21, 2022
136394e
Specify DISTRIBUTED BY when CREATE TABLE (#146)
xuebinsu Feb 21, 2022
42ce8e3
Simplify the build script (#148)
beeender Feb 21, 2022
1f4f63d
Revert greenplum-db/diskquota#138 (#150)
xuebinsu Feb 22, 2022
1941096
Add clang-format and editorconfig (#136)
beeender Feb 22, 2022
0b72326
Extend fetch_table_stat() to update db cache v2 (#151)
xuebinsu Feb 22, 2022
8c961de
Wait after CREATE EXTENSION (#152)
xuebinsu Feb 22, 2022
4eefed5
Run tests on all platforms for PR pipeline (#153)
beeender Feb 23, 2022
d5530b1
Reset naptime when test finish (#147)
beeender Feb 23, 2022
76e425f
Fix flaky test case in isolation2/test_relation_size.sql (#123)
higuoxing Feb 24, 2022
70f1071
Set PR pending status when start (#157)
beeender Feb 24, 2022
27fbb45
Update CI README for PR trigger issue (#156)
beeender Feb 25, 2022
5a070bd
Make diskquota work for "pg_default" tablespace (#133)
liuxueyang Feb 25, 2022
602d039
build: use cmake as build system (#161)
Sasasu Feb 28, 2022
fd5efbb
rename library file to diskquota-<major.minor>.so (#162)
Sasasu Mar 3, 2022
3c4c1da
Keep the 1.0 sql the same with 1.x branch (#163)
beeender Mar 3, 2022
aa28e06
Test when table is created before quota is set (#129)
xuebinsu Mar 4, 2022
b131bf4
Install the latest cmake on CI (#165)
beeender Mar 4, 2022
a82c776
dump cmake version to 3.18
Sasasu Mar 3, 2022
f13327e
fix case test_ctas_no_preload_lib
Sasasu Mar 4, 2022
52ccab0
Cache CMAKE_INSTALL_PREFIX (#171)
beeender Mar 7, 2022
d4fc0d2
Fix empty quota view when no table (#167)
xuebinsu Mar 7, 2022
09f6a66
mc/cmake installcheck (#169)
beeender Mar 7, 2022
982c125
Dispatch only once for all tables when init() (#107)
zhrt123 Mar 7, 2022
0b19e94
Pack the last released so in the pipeline (#172)
beeender Mar 8, 2022
91b65e1
add upgrade and downgrade test (#166)
Sasasu Mar 8, 2022
1e970a8
Fix gcc warning (#175)
beeender Mar 8, 2022
14b8bf6
Remove Makefiles (#174)
beeender Mar 8, 2022
716d072
cmake: also link RESULTS_DIR to working dir
Sasasu Mar 8, 2022
2fc8b9a
show current binary and schema version
Sasasu Mar 7, 2022
bf7ae4f
Upload every build to GCS and add build-info (#177)
beeender Mar 10, 2022
17f4a41
Use cmake way to add C macro defines (#178)
beeender Mar 11, 2022
c4acd2f
ci: speed up the test
Sasasu Mar 11, 2022
1be6e75
Small tuning on logs (#154)
beeender Mar 11, 2022
3780e8f
Update gitignore (#180)
beeender Mar 11, 2022
ff2939c
Add test cases for postmaster restart (#135)
beeender Mar 15, 2022
38bf32e
Fix memory leak when refresh_blackmap() (#182)
xuebinsu Mar 16, 2022
bc8940e
Format the code and add clang-format to PR pipeline (#183)
beeender Mar 17, 2022
6bc5590
remove the in-logic version check.
Sasasu Mar 17, 2022
2b65dcf
ci: add upgrade version naming convention check
Sasasu Mar 16, 2022
e65d624
Support release build (#186)
beeender Mar 21, 2022
9e526c2
feat: github actions for clang-check ci (#185)
yihong0618 Mar 21, 2022
6d3edc8
Run same regress test multiple times (#188)
beeender Mar 21, 2022
2e80f83
slack-alert and PR pipeline fix (#187)
beeender Mar 22, 2022
e29d43f
Don't format errno as '%d' in error messages. (#190)
higuoxing Mar 23, 2022
8408c15
fix context corrupted when dirty data exist in pg_extension
Sasasu Mar 22, 2022
fcd1793
Fix cmake build on Mac (#191)
beeender Mar 24, 2022
734be7a
Bring tests back on CI (#193)
beeender Mar 30, 2022
a17f368
Missing EmitErrorReport before FlushErrorState (#155)
beeender Mar 30, 2022
d483318
Insert newline before `else` (#194)
liuxueyang Mar 31, 2022
e72e8d1
Add the ytt based release pipeline (#198)
beeender Apr 1, 2022
8ac5551
Use on/off in diskquota.status() (#200)
Sasasu Apr 1, 2022
a9fe5c2
Update licenses (#195)
beeender Apr 6, 2022
cb4b6a7
Use released gpdb instead of release candidate (#201)
beeender Apr 8, 2022
b958a44
Fix tablespace per segment ratio (#199)
Apr 8, 2022
f46a345
Fix un-expected remove when two tablespace-quota has a same role or s…
liuxueyang Apr 13, 2022
4d36bfd
Wait next loop for bgworker to refresh before INSERT in testcase (#205)
liuxueyang Apr 13, 2022
9249306
Add UDF diskquota.show_segment_ratio_quota_view (#204)
Apr 13, 2022
dbc3ec5
clean blackmap after drop diskquota (#196)
Sasasu Apr 14, 2022
97e1b2c
Reset memory account to fix memory leak (#203)
xuebinsu Apr 14, 2022
4894e9d
fix test case for test_manytable (#197)
Sasasu Apr 14, 2022
73e8472
some fix for release CI (#206)
Sasasu Apr 16, 2022
03d67ce
Fix mistaken log statement (#207)
beeender Apr 18, 2022
b81f66e
Fix flaky ctas_pause on release build (#210)
beeender Apr 19, 2022
fa7f20c
Reformat quota exceeded message (#209)
beeender Apr 19, 2022
7260256
Fix change tablespace test case (#213)
Apr 21, 2022
edb236d
Replace "black" with "reject" for clearity (#214)
xuebinsu Apr 22, 2022
be84726
Reject set quota for system owner(#215)
Apr 25, 2022
d17f2d9
fix set quota with upper case object name
Sasasu Apr 18, 2022
0cf778c
Hint message when launcher cannot be connected (#216)
beeender Apr 28, 2022
1b73089
SPI & entry clear in refresh_blackmap (#211)
beeender Apr 28, 2022
99bd99c
Minimize the risk of stale relfilenodes (#217)
xuebinsu Apr 29, 2022
9855b3d
Report error if diskquota is not ready (#218)
xuebinsu May 5, 2022
dae8278
Allow deleting quota for super user (#219)
May 6, 2022
7f7c79b
Release pipeline is publishing wrong intermediates (#221)
beeender May 30, 2022
bdf1dd3
Bump version to 2.0.1 (#222)
beeender May 30, 2022
2178a15
Compatible with ancient git (#223)
Sasasu May 31, 2022
7904b34
Fix compiler version on concourse (#225)
beeender Jul 25, 2022
cd8f47f
[CI] Fetch secrets from vault. (#226)
higuoxing Aug 4, 2022
e2af12e
[cmake] Use C compiler to link the target. (#230)
higuoxing Aug 23, 2022
5c3c1c7
Scripts for new pipeline naming rules (#231)
beeender Aug 24, 2022
7432edf
Log readiness message only once (#229)
xuebinsu Aug 25, 2022
34a4dbe
Fix flaky test due to slow worker startup (#232)
xuebinsu Aug 25, 2022
861bf0b
Downgrade severity of the readiness issue (#235)
xuebinsu Aug 31, 2022
c86a30e
Fix creating artifact (#234)
beeender Aug 31, 2022
7378137
Dynamic bgworker for diskquota extension
Sep 15, 2022
40e54fb
Fix the test failure on release pipeline
Sep 20, 2022
b961dd4
Move pr/merge pipeline to dev2 (#238)
beeender Sep 22, 2022
5bbd552
Combine two object_access_hook into one (#220)
Sep 26, 2022
c0cb4ce
Remove free writer gang in launcher (#233)
Oct 11, 2022
a54e837
Fix bug: diskquota quota usage doesn't include uncommitted table (#228)
zhrt123 Oct 18, 2022
80161a1
Fix flaky test (#240)
Oct 18, 2022
094eda4
Fix flaky test test_ctas_role (#242)
Oct 19, 2022
bb2705f
Support at least 20000 tables for each database (#239)
zhrt123 Oct 20, 2022
5e93819
Reduce MAX_TABLES to 200K. (#243)
zhrt123 Oct 24, 2022
7a0a455
Fix test_rejectmap flaky test (#246)
Oct 28, 2022
56e5649
Add SECURITY.md
gp-releng Oct 28, 2022
2cda683
Add SECURITY.md (#249)
gp-releng Nov 2, 2022
dd41a20
Rewrite the diskquota worker scheduler (#245)
Nov 8, 2022
b08f972
Remove PR pipeline base branch (#252)
beeender Nov 8, 2022
a814b19
Fix bug: relation_cache cannot isolate table info for each database (…
zhrt123 Nov 14, 2022
c1d61b0
Fix flaky test (#250)
Nov 17, 2022
190818b
Filter the useless relation type. (#254)
zhrt123 Nov 17, 2022
f2e4c71
Fix worker time out and diskquota.max_workers (#255)
Nov 18, 2022
60585c9
Fix flaky "database not found" (#256)
beeender Nov 18, 2022
44b8b97
Change the max value of diskquota.max_workers to 20 (#257)
Nov 21, 2022
49bac34
Revert change of worker_schedule test becuase flaky test (#260)
Nov 21, 2022
899c7ca
Missing pause causes deadlock flaky (#258)
beeender Nov 21, 2022
7830263
Fix memory leak when database is not ready (#262)
Nov 24, 2022
7b43f27
Change the default value of GUC to reduce default memory cost. (#266)
zhrt123 Dec 1, 2022
19372ca
Refactor TableSizeEntry to reduce memory usage. (#264)
zhrt123 Dec 2, 2022
0016359
Correct table_size_entry key (#268)
Dec 5, 2022
c8abdad
Add cmake opt DISKQUOTA_DDL_CHANGE_CHECK (#270)
beeender Dec 5, 2022
af5d066
Fix regression caused by #264 (#272)
beeender Dec 5, 2022
4905bf7
Add a GUC `diskquota.max_table_segments`. (#271)
zhrt123 Dec 5, 2022
becada8
Enable tests (#274)
beeender Dec 6, 2022
337dece
Optimize dispatching reject map to segments (#275)
Dec 8, 2022
3766901
Fix bug: rejectmap entries should not be removed by other databases. …
zhrt123 Dec 12, 2022
434b89b
Fix diskquota worker schedule bug (#280)
Dec 12, 2022
c4cfb59
Bump version to 2.1.1 (#283)
beeender Dec 13, 2022
e98d7f1
Fix flaky test_fast_quota_view (#282)
beeender Dec 13, 2022
9efd8b1
Fix flaky isolation2 test. (#281)
higuoxing Dec 16, 2022
ccb6e1e
Fix compilation to support gpdb7 (#285)
zhrt123 Jan 30, 2023
4aa82c8
Fix released tarball name. (#286)
higuoxing Jan 30, 2023
c1ac4b4
Add an option to control whether compile with fault injector. (#287)
higuoxing Jan 30, 2023
c0fb2e8
Add judgement for fault injector. (#288)
zhrt123 Jan 30, 2023
c1b72aa
Revert "Add judgement for fault injector. (#288)" (#291)
higuoxing Jan 30, 2023
b7881fc
CI: Fix pipeline (#293)
zhrt123 Jan 31, 2023
0fcf6f7
Format code by clang-format. (#296)
zhrt123 Feb 3, 2023
9477f29
Add command to compile isolation2. (#297)
zhrt123 Feb 3, 2023
06888c0
Fix flaky test (#294)
zhrt123 Feb 3, 2023
cc157db
Fix flaky test test_rejectmap_mul_db (#295)
Feb 6, 2023
76eb0b6
Fix bug (#298)
zhrt123 Feb 7, 2023
95f23a8
Enable upgrade test for CI (#299)
zhrt123 Feb 8, 2023
1d95f3e
Skip fault injector case for release build (#302)
beeender Feb 9, 2023
a6bd5a0
VAR replace for Regress.cmake and fix test_rejectmap (#304)
beeender Feb 15, 2023
136851a
Fix update test failures caused by segid diff (#305)
beeender Feb 16, 2023
68e1ecb
Replace relation_open/relation_close with RelationIdGetRelation/Relat…
zhrt123 Feb 16, 2023
1310e44
Fix flaky test of test_rejectmap_mul_db (#301)
Feb 20, 2023
dffc37f
Fix test_primary_failure test case (#303)
Feb 21, 2023
45bbf39
Move files to src and control dirs. (#307)
zhrt123 Feb 22, 2023
929c8cf
Fix gpdb release binary regex (#311)
beeender Mar 7, 2023
d7b350a
Enable test_postmaster_restart (#309)
zhrt123 Mar 7, 2023
1d306dd
Bump cmake min version to 3.20 (#313)
beeender Mar 16, 2023
f6ed4b8
Resource change for gpdb7 binary (#315)
beeender Mar 20, 2023
b2513b7
Fix bug: bgworker enters infinite loop after receiving notices from Q…
zhrt123 Mar 27, 2023
0aafc99
Ignore some hint/notice for GPDB7 (#328)
zhrt123 Apr 6, 2023
3b83f5c
fix flaky test: test_appendonly (#327)
zhrt123 Apr 6, 2023
27f039c
Add dbname to DiskQuotaWorkerEntry (#326)
zhrt123 Apr 6, 2023
09c8e94
Replace SPI_execute with SPI_cursor_fetch (#322)
zhrt123 Apr 6, 2023
2f52ef3
Split update SQL statement for diskquota.table_size (#325)
zhrt123 Apr 10, 2023
ec13344
Update cmake version in README. (#331)
woblerr Apr 14, 2023
a79bb8b
Fix flaky test: test_appendonly (#333)
zhrt123 Apr 17, 2023
87b8d22
Skip refresh_disk_quota_model() when receiving a signal (#321)
zhrt123 Apr 26, 2023
b4fbe92
Allocate more shared memory to quota_info (#334)
zhrt123 Apr 26, 2023
4e03357
Enable stanby test for 6X_STABLE (#335)
zhrt123 Apr 26, 2023
8275c63
Bump version to 2.2.1 (#336)
beeender Apr 27, 2023
c586718
Use install_gpdb_component in CI test (#337)
beeender Apr 27, 2023
1c10e03
Fix compiler warnings. (#339)
higuoxing May 25, 2023
583995b
Fix bug: diskquota.status() (#344)
zhrt123 Jun 26, 2023
36f02e5
fix pipeline (#345)
zhrt123 Jun 26, 2023
802c02d
Reduce the number of the log in bgworker. (#346)
zhrt123 Jun 27, 2023
adb7a41
Fix bug: lose monitored_dbid_cache after switching mirror (#342)
zhrt123 Jun 27, 2023
e224428
Enable continuous upgrade. (#340)
zhrt123 Jun 27, 2023
d1828bb
Fix pipeline. (#349)
zhrt123 Jun 28, 2023
4ddbe17
Fix upgrade version check (#347)
beeender Jun 28, 2023
c913730
Remove gp7 from pipeline (#350)
zhrt123 Jun 28, 2023
bc2cf9e
Add alter extension upgrade test (#348)
beeender Jun 28, 2023
7d7d5c5
Add a sleep in alter_test.sh (#351)
zhrt123 Jun 29, 2023
f7a9b82
Update to 2.2.2 (#352)
zhrt123 Jun 29, 2023
6d84bd7
Reduce the remain logs in bgworker. (#354)
zhrt123 Jul 3, 2023
3e93076
Fix bug: bgworkers only print log once. (#356)
zhrt123 Jul 4, 2023
7dd9b24
Disable forks for PR resource (#358)
beeender Jul 12, 2023
259808d
Release/gp7 2.2.2 (#361)
zhrt123 Jul 28, 2023
333e95a
Update to 2.3.0 (#362)
zhrt123 Aug 24, 2023
5247a83
Enable gpactivatestandby test (#363)
zhrt123 Aug 24, 2023
0151850
Add gpdb7 job back to pipeline. (#367)
zhrt123 Aug 24, 2023
53da826
fix creating extension with global option appendonly=true. (#366)
zhrt123 Aug 25, 2023
b291e2e
Fix continuous upgrade (#368)
zhrt123 Sep 8, 2023
2c897c2
Add GUC diskquota.max_monitored_databases. (#369)
zhrt123 Sep 12, 2023
2b46a30
Fix wrong test case (#374)
zhrt123 Sep 12, 2023
f39b162
Fix compilation issue caused by GP7 (#375)
zhrt123 Sep 12, 2023
c871b34
Add GUC diskquota.max_quotas (#372)
zhrt123 Sep 13, 2023
5ab2acc
Fix bug: the counter of quota_info_map works wrong (#378)
zhrt123 Sep 15, 2023
7a57e4b
Fix bug: diskquota stop working after removing any extension (#379)
zhrt123 Sep 19, 2023
6cf5e3e
Disable flaky test (#384)
zhrt123 Oct 18, 2023
bff1b38
Disable test_worker_schedule_exception (#385)
zhrt123 Oct 18, 2023
d1ddbba
Move concourse to gp-extension-ci repo (#383)
zhrt123 Oct 19, 2023
0b8aa98
Fix flaky test test_relation_size. (#387)
zhrt123 Oct 19, 2023
65a868e
Fix wrong test result on GP6. (#388)
zhrt123 Oct 19, 2023
ecd9d3d
Fix flaky test test_dbname_encoding (#389)
zhrt123 Oct 19, 2023
196e49e
Refactor quota info map (#380)
zhrt123 Oct 20, 2023
cb61528
[CMake] Fix package name for Rocky9/RHEL9 (#391)
beeender Oct 20, 2023
3186d37
Rename diskquota.max_quotas to diskquota.max_quota_probe (#390)
zhrt123 Oct 22, 2023
245f21c
Fix wrong shmem allocation. (#401)
zhrt123 Nov 7, 2023
c96e28d
Free tuple after use (#414)
Jan 10, 2024
4ac963b
fix: update acions (#417)
yihong0618 Jan 22, 2024
d196862
Invalidate diskquota.table_size entries during startup (#406)
RekGRpth Mar 7, 2024
598c885
Remove legacy CI and unused files from diskquota
tuhaihe Dec 9, 2025
2f048ec
Add diskquota support for Apache Cloudberry
tuhaihe Dec 9, 2025
4a607d4
Doc: Add diskquota license for ASF compliance
tuhaihe Dec 12, 2025
045dc52
Fix the regex matching bug of the GUC gp_resource_group_cgroup_parent
fairyfar Feb 9, 2026
e304d3e
Fix GPG verify path for staged release artifacts
tuhaihe Feb 26, 2026
62a13fb
Fix grammar: subscribe events calendar to subscribe to the events cal…
04cb Mar 1, 2026
cce58a8
Fix missing GUC_GPDB_NEED_SYNC for pax filter GUCs (#1590)
zhangyue1818 Mar 2, 2026
c5a298d
Fix COPY FROM encoding error double-counting and enable SREH for tran…
avamingli Mar 3, 2026
64c879a
Remove generated test file misc.sql (#1600)
gfphoenix78 Mar 3, 2026
7e867f6
Fix sed -i compatibility on macOS in configure (#1598)
zhangyue1818 Mar 3, 2026
9401cf3
Support matview status maintenance for multi-table JOIN queries
avamingli Mar 2, 2026
f65bf62
Fix RUN_GTEST/RUN_GBENCH leak into pax.so build
zhangyue1818 Mar 2, 2026
38cd645
Fix Oid display errors in the log or message
fairyfar Feb 28, 2026
c2e8186
ORCA: Fix detection of mixed storage in partitioned tables with forei…
yjhjstz Mar 5, 2026
f979799
Fix COPY TO returning 0 rows during concurrent reorganize
gfphoenix78 Feb 25, 2026
8ecc326
Fix release tarball base version naming
tuhaihe Mar 3, 2026
d400f10
CI: Add support for Ubuntu 24.04 Docker and DEB builds
tuhaihe Mar 11, 2026
0fab5c6
Revert "Recursively create tablespace directories if they do not exis…
reshke Feb 21, 2026
8ed3d8e
Fix replay of create database records on standby
alvherre Jul 28, 2022
8dccef0
Fix test instability
alvherre Jul 29, 2022
46aec1a
fix typos & add MPP support for `allow_inplace_tablespace`
reshke Mar 10, 2026
41c1750
Suppress DISTRIBUTED BY notices in bfv_joins test (#1612)
Alena0704 Mar 12, 2026
9d068e6
Run gp_internal_tools tests
andr-sokolov Dec 30, 2025
9328936
initdb: fix stale errno handling in setup_cdb_schema()
tuhaihe Feb 28, 2026
789957b
Fix invalid escape sequences in Python files
tuhaihe Mar 2, 2026
8d4c880
Fix LICENSE path for ISC license file
tuhaihe Mar 16, 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
  •  
  •  
  •  
17 changes: 15 additions & 2 deletions .github/workflows/build-cloudberry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,12 @@ jobs:
"gpcontrib/zstd:installcheck",
"gpcontrib/gp_sparse_vector:installcheck",
"gpcontrib/gp_toolkit:installcheck",
"gpcontrib/gp_exttable_fdw:installcheck"]
"gpcontrib/gp_exttable_fdw:installcheck",
"gpcontrib/gp_internal_tools: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"],
Expand Down Expand Up @@ -1379,7 +1384,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
10 changes: 8 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ The PostgreSQL software includes:

src/backend/utils/adt/inet_cidr_ntop.c
src/backend/utils/adt/inet_net_pton.c
see licenses/licenses/LICENSE-isc.txt
see licenses/LICENSE-isc.txt

----------------------------
Perl Artistic License 2.0 (exception)
Expand Down 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 @@ -24833,4 +24833,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